Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Build to a new hard drive

1 view
Skip to first unread message

dash

unread,
Mar 29, 2003, 7:13:27 PM3/29/03
to

I want to build a kernel and install it on a different hard drive
(which I will then pop out and put in a different machine). The "make
bzdisk" command only installs to fd0, not to a hard drive. Also I would
need to put lilo, etc on the drive. How can I do this?

I thought I could create a file that is the disk image, and then
cat it to the hard drive, but when I try to do something as simple as
"lilo -M ~/testfile" (to put the MBR into a file), it says that
~/testfile is not a block device. Is there any way to simulate a block
device in a file?


Thanks!
-

Joe Rutledge

unread,
Apr 28, 2003, 4:29:48 AM4/28/03
to
Personally I would build my whole linux distro in a chrooted
environment in a working system on your new disk. Then build the
kernel and bung it on a floppy.

Then get your disk into your new machine, boot it using the floppy
then use the new disk to make it's own kernel and just put it in boot
as normal.

You just need a boot loader on the harddisk, and the image somewhere
that you've told the loader it is. Make bzdisk is unnecessary for a
new image on a new fixed disk.

HTH,

Joe

dash <-@charter.net> wrote in message news:<v8cdi1q...@corp.supernews.com>...

0 new messages