Can not boot from second disk after dd
Installed Suse Pro 10.1 on a host with two identical SATA disks - Linux installed on disk /dev/sda.
Installed Suse Enterprise 9.3 on a Dell 1950 with two identical SAS disks - Linux installed on disk /dev/sda.
After the installation / configuration, the entire boot disk was copied to the second disk:
dd if=/dev/sda of=/dev/sdb
How can I boot from the other disk? I have tried to unplug disk1; does not work. Swap disk positions - does not work.
pluto2:~ # fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5222 41945683+ 83 Linux
/dev/sda2 5223 6528 10490445 82 Linux swap / Solaris
/dev/sda3 6529 19457 103852192+ 83 Linux
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 5222 41945683+ 83 Linux
/dev/sdb2 5223 6528 10490445 82 Linux swap / Solaris
/dev/sdb3 6529 19457 103852192+ 83 Linux
pluto2:~ # ls -l /dev/sd*
brw-r----- 1 root disk 8, 0 Feb 5 08:55 /dev/sda
brw-r----- 1 root disk 8, 1 Feb 2 14:22 /dev/sda1
brw-r----- 1 root disk 8, 2 Feb 2 14:21 /dev/sda2
brw-r----- 1 root disk 8, 3 Feb 2 14:22 /dev/sda3
brw-r----- 1 root disk 8, 16 Feb 2 17:42 /dev/sdb
I have used the same approach on SCSI-based systems; fex. a Dell PowerEdgde 1850 with two internal 146GB SCSI disks. Worked fine. No need to use fdisk after dd. Installed on one disk; dd'd to the other. System boots off the second disk if we remove the first and put disk no. 2 in disk no.1 position.
Ideas anyone?
- Nils
|