Boot fails after install from a liveUSB

Hi,

I tried to install openSUSE on my laptop from a live USB. The install process looks fine but when I reboot I can’t load the freshly installed openSUSE.

I believe this is due to the fact that during the live session, the usb stick is known by the system as /dev/sda and the internal hard drive as /dev/sdb. When I reboot, the hard drive is then /dev/sda.

Since my main OS is Ubuntu, I haven’t replaced the existing grub but I refreshed the existing grub with the update-grub command, using the os prober feature.

Here is the output of /boot/grub/grub.cfg:


### BEGIN /etc/grub.d/30_os-prober ###
menuentry "openSUSE 11.3 (on /dev/**sda10**)" {
	insmod ext2
	set root='(hd0,10)'
	search --no-floppy --fs-uuid --set d958e140-e83d-48b2-9154-d6dc2800e2b5
	linux /boot/vmlinuz-2.6.34-12-desktop root=/dev/**sdb10** resume=/dev/disk/by-id/ata-ST9500325AS_5VE4F2CT-part9 splash=silent quiet showopts
	initrd /boot/initrd-2.6.34-12-desktop
}
menuentry "Failsafe -- openSUSE 11.3 (on /dev/sda10)" {
	insmod ext2
	set root='(hd0,10)'
	search --no-floppy --fs-uuid --set d958e140-e83d-48b2-9154-d6dc2800e2b5
	linux /boot/vmlinuz-2.6.34-12-desktop root=/dev/sdb10 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
	initrd /boot/initrd-2.6.34-12-desktop
}

fdisk -l:


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8bcf45b8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          26      204800    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              26        7321    58593750    7  HPFS/NTFS
/dev/sda3   *        7322       58875   414107474+   f  W95 Ext'd (LBA)
/dev/sda4           58876       60802    15471800   12  Compaq diagnostics
/dev/sda5           56862       58875    16177423+   7  HPFS/NTFS
/dev/sda6            7322        9752    19526976   83  Linux
/dev/sda7            9753       47188   300704638+  83  Linux
/dev/sda8           47189       48598    11325793+  83  Linux
/dev/sda9           56327       56861     4297356   82  Linux swap / Solaris
/dev/sda10          48599       51164    20611363+  83  Linux
/dev/sda11          51165       53745    20731851   83  Linux
/dev/sda12          53746       56326    20731851   83  Linux

Details on the liveUSB

  1. I have downloaded the following iso image: openSUSE-11.3-KDE4-LiveCD-x86_64.iso
  2. I have installed it on my usb stick using Multiboot-v3 (MultiBoot LiveUSB , Ubuntu, site in french but google translate isn’t too bad).

Any idea how I can either re-install openSUSE forcing the live USB to be sdb or how I can fix this problem directly?

Thanks,

Alex

Note: I won’t have internet access until late this evening, so I won’t be able to check replies until then.

At the end of setting up the install, here:
http://lh3.ggpht.com/_hOiUsWwC6VQ/TC2GRnd3KDI/AAAAAAAAATE/T3QIA-J4KbE/s640/14.jpg

Click Booting and you can propose a new configuration
Make sure the the usb device is second in the disk order

Hi,

Thanks for this advice. I tried but it didn’t change the devices letters.
I think I’ll burn a cd instead…

I tried to change the boot settings in the grub configuration, by forcing the partition number to be set to sda10 and it worked.

Good news then.