hi ya OP

if you are doing your magic on /dev/hde and want to make it
a bootable device as /dev/hda on another PC

- let's assume you have /dev/hda ( hd0 ) and your clone /dev/hde ( hd1 )
        - note and understand the grub terminology

        - also "cat /boot/grub/device.map"
                - what are your two disks called /dev/hdxx vs hd#

- if you booted off /dev/hda on your current pc and your other pc will
  be booting of the new  /dev/hda ( currently called /dev/hde ), all you
  need to do ... after you do all your magic about "cloning"

        dd if=/dev/hda of=/dev/hde bs=446 count=1
        sync

        power off - move the disk -- power on -- cross your fingers

- ie.. don't bother with grub-install and all that ..
        - you already have a good MBR and a good /boot/grub/device.map

-- you will have to edit /boot/grub/device.map if the number of
  disks is different on both PCs
        - different numbers of fd, cd, dvd, disks, scsi, usb-stick ..

        - you will need to figure out what your original /dev/hde
        is called on your new pc ( hd0, or hd1, or hd2, .. )

- if you like to do thigns the hard way

grub> root (hd0,0)
grub> kernel vmlinuz... ( whatever your kernel is called )
grub> setup (hd0)
grub> boot

add initrd=initrd.gz before setup if your (broken)kernel needs some help

-- see the various gazillion grub-howto's
        
c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to