Hi!,
I have netBSD running on a machine. I want to install bsd on another
hard drive so that i can use it on a new machine. Is it possible, and
how do I go about doing it? I will be thankful for any suggestions.
thanking you,
craig.
I have netBSD running on a machine. I want to install bsd on another
hard drive so that i can use it on a new machine. Is it possible, and
how do I go about doing it? I will be thankful for any suggestions.
thanking you,
craig.
Sure. I did it on one of my machines for another machine that didn't have aQuote:> Hi!,
> I have netBSD running on a machine. I want to install bsd on another
> hard drive so that i can use it on a new machine. Is it possible, and
> how do I go about doing it? I will be thankful for any suggestions.
--
-- http://www.cs.earlham.edu/~skylar/
>> I have netBSD running on a machine. I want to install bsd on another
>> hard drive so that i can use it on a new machine. Is it possible, and
>> how do I go about doing it? I will be thankful for any suggestions.
> Sure. I did it on one of my machines for another machine that didn't have a
> working floppy drive and a non-bootable CD drive. I would disconnect all
> your other hard drives, stick in the new hard drive, and do a regular
> install. This only works on machines of the same architecture, though.
> I have netBSD running on a machine. I want to install bsd on another
> hard drive so that i can use it on a new machine. Is it possible, and
> how do I go about doing it? I will be thankful for any suggestions.
Assuming that's correct:
1. Sure, you can do that, but it would probably be easier to do it some
other way. If the second box has no removable media or network
interface it can boot from, this might be your only choice.
2. If the two boxes are the same architecture and will both be running
the same or similar systems, it'll be a piece of cake, relatively. If
different, it could be something of a challenge.
3. Basically:
a. fdisk or whatever your architecture uses to write boot
blocks. As always, the very first step is the least familiar and most
critical.
b. disklabel
c. newfs
d. mount the root fs of the "new" disk on (say) /mnt on the host
system, and mount the rest of the filesystems below that.
e. untar the distribution tarballs into /mnt.
f. take a quick look at /mnt/etc/{rc.conf,fstab,...}. This isn't
necessary, but might be convenient.
g. pull the disk drive out and put it back into Box 2, and see if it'll
boot. If not, spend some more time with the manual, move the disk drive
back to Box 1, and goto step 'a' above.
1. Question on BSD Pseudo-TTY ioctl's (slave vs. master)
I'm trying to port a 4.3BSD program (window(1))to SUN OS 4.0.3 and
am having a minor problem with code that deals with pseudo-ttys. The code
attempts to change the slave side terminals settings of the pseudo-tty by
doing the same ioctl's on the master side. I currently open the slave set
the terminal settings and then close it. Unfortunately, after closing the
PTY the terminal settings get reset to the defaults. The USENIX 4.3BSD
manual pages for PTYs list the master side ioctl's, but don't say whether or
not the slave side ioctl's are supposed to work on either side. I would
assume that 4.2BSD does work that way, but I would like to know if that is
just accidental or an intended capability. Is there any way do this other
then opening (and keeping open) the slave side? A "portable" solution would
be preferred. I would also be curious about how other UNIX systems that
implement PTYs deal with this question.
Thanks,
Bill Bogstad
2. Problem with patch 105633-30 on Sparc
3. IDE ATAPI cdrom sec/master or sec/slave
6. netra x1 wont find added harddrive
7. Problems with dump - master/slave protocol botched
8. Brian Valentine's address at Microsoft...
9. Can >1 host be both NIS masters *and* slaves
10. IDE CDROM (master or slave?)
11. how can i know this computer is NIS master/slave server or client?
13. NIS: Linux master, Solaris slave