[opensuse] can't boot from usb
Hi I have 12.1 on a USB stick installed from the DVD. It installed and booted fine during the installation process and I was able to work with the system after installation, configure it etc. On reboot, I get: Missing operating system fdisk -l Disk /dev/sdb: 8010 MB, 8010194944 bytes 247 heads, 62 sectors/track, 1021 cylinders, total 15644912 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x68191dc3 Device Boot Start End Blocks Id System /dev/sdb1 2048 1525759 761856 82 Linux swap / Solaris /dev/sdb2 * 1525760 15644671 7059456 83 Linux I can mount it and see the installation fine. /boot looks intact: fstab: /dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC33B0FB90F70C2592-0:0-part1 swap swap nofail 0 0 /dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC33B0FB90F70C2592-0:0-part2 / ext4 acl,user_xattr 1 1 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 /boot/grub cat device.map (hd0) /dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC33B0FB90F70C2592-0:0 cat menu.lst # Modified by YaST2. Last modification on vie mar 23 21:41:43 CET 2012 # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader # For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader default 0 timeout 8 gfxmenu (hd0,1)/boot/message ##YaST - activate ###Don't change this comment - YaST2 identifier: Original name: linux### title Desktop -- openSUSE 12.1 - 3.1.0-1.2 root (hd0,1) kernel /boot/vmlinuz-3.1.0-1.2-desktop root=/dev/disk/by-id/usb-nKingston_DT_101_G2_001CC0EC33B0FB90F70C2592-0:0-part2 resume=/dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC33B0FB90F70C2592-0:0-part1 splash=silent quiet showopts vga=0x317 initrd /boot/initrd-3.1.0-1.2-desktop ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 12.1 - 3.1.0-1.2 root (hd0,1) kernel /boot/vmlinuz-3.1.0-1.2-desktop root=/dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC33B0FB90F70C2592-0:0-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x317 initrd /boot/initrd-3.1.0-1.2-desktop Any ideas where to start? Thanks, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-23 23:07, lynn wrote:
On reboot, I get: Missing operating system
IIRC, that message is typical from a generic boot sector. Maybe you are not booting from the usb stick, but from an empty HD in the computer. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9s9nsACgkQIvFNjefEBxoK8ACgio7Lc9im/qnGVfrz5z0ofLd5 aXsAoLeoJDLwCH+Dv8w8X8Qq4pVtba2x =yP6w -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23/03/12 23:17, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-23 23:07, lynn wrote:
On reboot, I get: Missing operating system IIRC, that message is typical from a generic boot sector. Maybe you are not booting from the usb stick, but from an empty HD in the computer.
Hi No. Can't be because there is no HD in this computer. It failed and I removed it. Other usb sticks boot OK. Cheers, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-23 23:57, lynn wrote:
On 23/03/12 23:17, Carlos E. R. wrote:
Hi No. Can't be because there is no HD in this computer. It failed and I removed it. Other usb sticks boot OK.
Mmm. Then you should have generic boot code in the MBR of that USB stick, which should go to partition 2, which should have grub code. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9tBHEACgkQIvFNjefEBxqJ5gCgyfq9iD4Ng12qoIZBhUIL1I3+ AyIAnjKWalFo9VSJslQNBnrnb0tfWRS0 =S7l1 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 24/03/12 00:17, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-23 23:57, lynn wrote:
On 23/03/12 23:17, Carlos E. R. wrote:
Hi No. Can't be because there is no HD in this computer. It failed and I removed it. Other usb sticks boot OK. Mmm.
Then you should have generic boot code in the MBR of that USB stick, which should go to partition 2, which should have grub code.
- -- Hi Carlos, hi everyone OK. But how do I do that? L x
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-24 08:35, lynn wrote:
On 24/03/12 00:17, Carlos E. R. wrote:
you should have generic boot code in the MBR of that USB stick, which
should go to partition 2, which should have grub code.
- -- Hi Carlos, hi everyone OK. But how do I do that?
That's what you should already have. The command is, if I don't make a mistake: grub-install or grub-install.unsupported (I don't remember). Or perhaps it is grub itself - I'm fuzzy right now, last time I did it was a month ago :-) and inside: setup --stage2=/boot/grub/stage2 --force-lba (hd0,1) (hd0,1) quit Doc: info grub. Node: setup (13.3.34 setup) And that's assuming the usb thing is the first device the bios sees. That you show it as sdb is confusing, unless you are using another computer to display it. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9t8VwACgkQIvFNjefEBxoc7wCfQFo06dTaGO7ksjjlgSNw+2mz Dh0An2Jitz0UkMZREUhjcEsQSoIemCiW =aYOY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 24/03/12 17:07, Carlos E. R. escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-24 08:35, lynn wrote:
On 24/03/12 00:17, Carlos E. R. wrote: you should have generic boot code in the MBR of that USB stick, which
should go to partition 2, which should have grub code.
- -- Hi Carlos, hi everyone OK. But how do I do that? That's what you should already have. The command is, if I don't make a mistake:
grub-install or grub-install.unsupported (I don't remember). Or perhaps it is grub itself - I'm fuzzy right now, last time I did it was a month ago :-)
and inside:
setup --stage2=/boot/grub/stage2 --force-lba (hd0,1) (hd0,1) quit
Doc: info grub. Node: setup (13.3.34 setup)
And that's assuming the usb thing is the first device the bios sees. That you show it as sdb is confusing, unless you are using another computer to display it. It is sdb because I used another usb stick /dev/sda to boot from so I could run fdisk. This is a 10-for-100-Euro laptop with no hard drives.
Anyway, you are wonderful: booting from usb stick 1 (/dev/sda) and running: acer4:/home/invitado #grub-install.unsupported /dev/sdb2 GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0,0) (hd0,0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "install --force-lba --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,0) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded Done. grub> quit It does it all for you:-) I did 3 more usb sticks today exactly the same. Same make, same model. No problem at all. I wonder why this one gave problems? salu2, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-24 17:34, lynn wrote:
It is sdb because I used another usb stick /dev/sda to boot from so I could run fdisk. This is a 10-for-100-Euro laptop with no hard drives.
Anyway, you are wonderful: booting from usb stick 1 (/dev/sda) and running:
(I'm going to blush)
acer4:/home/invitado #grub-install.unsupported /dev/sdb2 GNU GRUB version 0.97 (640K lower / 3072K upper memory)
Be careful, /boot points to the running system, not to the install system. I think. I forgot to mention that.
grub> quit
It does it all for you:-)
Yesp, I had forgotten the name of the app.
I did 3 more usb sticks today exactly the same. Same make, same model. No problem at all. I wonder why this one gave problems?
It happens now and then... - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9uAWwACgkQIvFNjefEBxrUIACdFEupujKcBXI9GATwG0IJZ7wx 9aUAnAyGJmmfC4cgh7q+VFQsWJDuIVnk =PaV7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/23/2012 06:07 PM, lynn wrote:
Hi I have 12.1 on a USB stick installed from the DVD. It installed and booted fine during the installation process and I was able to work with the system after installation, configure it etc. On reboot, I get: Missing operating system
Is the BIOS set up to boot from usb? --doug -- Blessed are the peacekeepers...for they shall be shot at from both sides. --A.M. Greeley -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri, 23 Mar 2012 23:07:34 +0100
lynn
.. Device Boot Start End Blocks Id System /dev/sdb1 2048 1525759 761856 82 Linux swap / Solaris /dev/sdb2 * 1525760 15644671 7059456 83 Linux
What is /dev/sda ? CD/DVD drive, another USB, internal flash storage? Your USB is a second storage media in a system; whatever is considered first, and bootable, from firmware (BIOS) perspective. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 24/03/12 11:46, Rajko M. escribió:
On Fri, 23 Mar 2012 23:07:34 +0100 lynn
wrote: .. Device Boot Start End Blocks Id System /dev/sdb1 2048 1525759 761856 82 Linux swap / Solaris /dev/sdb2 * 1525760 15644671 7059456 83 Linux What is /dev/sda ? Hi. This is an old laptop without a hard drive. /dev/sda is a usb stick used to boot the machine. /dv/sdb is the usb stick which will not boot. CD/DVD drive, another USB, internal flash storage?
Your USB is a second storage media in a system; whatever is considered first, and bootable, from firmware (BIOS) perspective.
In my case it is the usb that is the first bootable medium as the laptop does not have anything else to boot from. Well, not quite true. It has a DVD drive but I don't use it. Everything works via the usb ports. L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-24 17:08, lynn wrote:
In my case it is the usb that is the first bootable medium as the laptop does not have anything else to boot from. Well, not quite true. It has a DVD drive but I don't use it. Everything works via the usb ports.
You don't, but the bios sees it. If the DVD goes first, then the installation is not in hd0 but in hd1... In mine, usb stick boot as hd0 because I get a bios popup to select from which device to boot, and if I select usb that makes that device the first device, hd0. If the bios attempts someother device, finds no boot code, then goes to the second device... it would be hd1. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9t9FAACgkQIvFNjefEBxrNPQCgqAqkwWGvJCgbwYZooMSxuobK hCQAoJN7Mwx63yNTGv4hEkFsziiWyQyk =JfXE -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 24/03/12 17:20, Carlos E. R. escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-24 17:08, lynn wrote:
In my case it is the usb that is the first bootable medium as the laptop does not have anything else to boot from. Well, not quite true. It has a DVD drive but I don't use it. Everything works via the usb ports. You don't, but the bios sees it. If the DVD goes first, then the installation is not in hd0 but in hd1...
In mine, usb stick boot as hd0 because I get a bios popup to select from which device to boot, and if I select usb that makes that device the first device, hd0.
If the bios attempts someother device, finds no boot code, then goes to the second device... it would be hd1.
On these laptops, I have to press f9 to get the usb boot menu, so I guess it will always be hd0. Is that what you mean by bios popup? Maybe I should be looking at the bios anyway as these machines will never boot from anything other than USB. Although I suppose they could boot from he dvd too for installation instead of from another usb. . . L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-24 17:41, lynn wrote:
El 24/03/12 17:20, Carlos E. R. escribió:
On these laptops, I have to press f9 to get the usb boot menu, so I guess it will always be hd0. Is that what you mean by bios popup?
Yep, exactly.
Maybe I should be looking at the bios anyway as these machines will never boot from anything other than USB. Although I suppose they could boot from he dvd too for installation instead of from another usb. . .
laptops have a very minimal bios setup... Dunno why. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9uAa4ACgkQIvFNjefEBxrwDwCfdOTK7lfAEcFg3+VRD+i7Z8YK D6IAn0WMOMJcQmC2LTT1ESNYIEjlTPl8 =GY6x -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 24/03/12 18:17, Carlos E. R. escribió:
laptops have a very minimal bios setup... Dunno why.
Looks like it. I had a look and CD-ROM is first and HARD DISK second. There seems no way to switch them around. The USB is recognised as HARD DISK and it boots OK. But why doesn't it just fall through to the USB when it times out on the CD not being in the drive? Why do I have to press f9 to choose it? And if I don't press f9 in time, it just hangs. Frustrating. . . BTW the bios is called SiS but no part number or reference is displayed. L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-24 18:53, lynn wrote:
El 24/03/12 18:17, Carlos E. R. escribió:
laptops have a very minimal bios setup... Dunno why.
Looks like it. I had a look and CD-ROM is first and HARD DISK second. There seems no way to switch them around. The USB is recognised as HARD DISK and it boots OK. But why doesn't it just fall through to the USB when it times out on the CD not being in the drive? Why do I have to press f9 to choose it? And if I don't press f9 in time, it just hangs. Frustrating. . .
It's a feature :-) It would be a hole for boot viruses in the boot sector of the usb sticks, like it was done years ago with floppies. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9uDcMACgkQIvFNjefEBxqQXACgoi9fqnxpCIQFF3VERlgsHX2K npUAn1bwoHEndaatYGxJ9VXR0GmOr6C7 =2QG1 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
Doug
-
lynn
-
Rajko M.