..now how do I write a MBR to /dev/hdb that will
boot when it's /dev/hda???

Currently, I re-cable /dev/hdb as /dev/hda, boot linux
into memory from a CD (RedHat install media) and then...

 - mknod /dev/hda1 b 8 1
 - mkdir /slave
 - mount /dev/hda1 /slave
 - /slave/sbin/lilo -r /slave
 - umount /slave

but I want to automate those steps (preferably without
another boot!)

The solution needs to work for IDE and SCSI disks, btw.

you've lost me.. What are you trying to do?

Are you just trying to clone a disk so that you can distribute that clone to like hardware?

--jim

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to