| Author |
Message |
|
Tuipveus
Joined: 18 Nov 2006, 13:09 Posts: 89
|
 Can't boot from usb-stick
I have pc which doesn't start from usb-stick. Normally when I boot that pc and press F11 to get bios-menu of bootable drives I will see:
+Harddrive
CD-ROM
DISKDRIVE
LAN
If I connect USB-cdrom I will see
+Harddrive
+CD-ROM
DISKDRIVE
LAN
and sysresccd starts correctly from CD-ROM. But If I unplug CD-ROM and plug USB stick (which works in another computers) I will see
+Harddrive
CD-ROM
+DISKDRIVE
LAN
Bios detects the usb-stick really slowly. Bios seems to think that my usb-stick is floppydrive. I have tried "syslinux e:", "syslinux -ma e:" and "syslinux -sma e:" but nothing seems to work. I also tried to disable floppydisk controller, but it didn't help too. When I try to start from DISKDRIVE, I will get blank black screen and cursor blinking in top left corner. If I choose any other selection, computer will start from harddrive. I do not want to install any bootloader to harddisk.
I can use external usb-cdrom to boot, but it is quite heavy to carry with me all the time. :?
Any ideas how to get usb-boot working?
|
| 04 Jan 2008, 05:49 |
|
 |
|
admin
Site Admin
Joined: 17 Jul 2003, 09:44 Posts: 2693
|
It may be a problem with the disk geometry (partitions) of your usb key.
This page may help:
http://www.sysresccd.org/Howto_install-usb-stick
|
| 04 Jan 2008, 07:40 |
|
 |
|
Tuipveus
Joined: 18 Nov 2006, 13:09 Posts: 89
|
After booting srcd from cdrom cfdisk complained that partition starts from outside of media or similar... I will try to format it later and try again.
I have 4GB usb-stick and it has some files. I already did every step of your instructions except formatting. Maybe syslinux can't start system over some cylinder etc. boundary. (for example over 1GB)
|
| 04 Jan 2008, 09:09 |
|
 |
|
Tuipveus
Joined: 18 Nov 2006, 13:09 Posts: 89
|
No, problem still there. I did everything right way like in
http://www.sysresccd.org/Howto_install-usb-stick
but it wont boot.
I think reason might be buggy bios, because same flash stick boots with my laptop. I am however happy that same problematic pc boots from cd.
It has phoenix bios and motherboard model is D1688.
|
| 04 Jan 2008, 12:18 |
|
 |
|
joelfranco
Joined: 08 Jan 2008, 02:16 Posts: 3
|
 USB MBR rebuild
Hi,
I found the answer to exact boot problem like yours in Linux Magazine from Brasil:
ms-sys -s /dev/sdX
It rebuilds the MBR in the USB boot device.
Hope this helps.
|
| 08 Jan 2008, 02:19 |
|
 |
|
admin
Site Admin
Joined: 17 Jul 2003, 09:44 Posts: 2693
|
I added your comment to the manual, thanks
|
| 08 Jan 2008, 07:41 |
|
 |
|
Tuipveus
Joined: 18 Nov 2006, 13:09 Posts: 89
|
Wow! It works! :D
But after doing "ms-sys -s /dev/sda" I had to select floppydisk from bios menu. :lol: 8)
Thanks a lot from Finland to Brasil!!
|
| 10 Jan 2008, 17:18 |
|
 |
|
Tuipveus
Joined: 18 Nov 2006, 13:09 Posts: 89
|
It works with one industrial PC, but doesn't work with another PC exactly same type. I am not sure why, but I think it might has to do something with bios-versions.
Boot-problem (without ms-sys -s /dev/sda) appears to be at least with these industrial PC's with Phoenix Bios and Fujitsu-Siemens motherboard, but also with home desktop (HP). I am not sure which brand that motherboard was.
These industrial pc's have some customised bios, which doesnt save all settings which user tries to save, so that might be the root of problem.
ps. I can't install any bootloader for this industrial pc's.
|
| 14 Feb 2008, 16:39 |
|
 |
|
joelfranco
Joined: 08 Jan 2008, 02:16 Posts: 3
|
Hi,
But if "ps. I can't install any bootloader for this industrial pc's.", why do you think that it could work with ms-sys?
Regards,
|
| 14 Feb 2008, 18:23 |
|
 |
|
Tuipveus
Joined: 18 Nov 2006, 13:09 Posts: 89
|
One part of this problem was that my usb-stick is perhaps broken. If I do syslinux and ms-sys -s for that stick, it will boot my laptop, but not industrial pc. If I write exactly same commands using another stick, it boots up both of those.
When I boot industrial pc with this problematical Kingston stick, it will take about 30-60 seconds before bios detects it. But my compact flash & Sandisk drive combo, gets detected by bios less than second.
I can save files to Kingston and boot normal pc from that stick, so is it really broken or not? Does SRCD has any programs for checking compact flash cards? badblocks perhaps?
|
| 05 Apr 2008, 16:38 |
|
 |
|
frank
Joined: 07 Apr 2008, 07:48 Posts: 1 Location: Germany
|
 MBR required for booting from USB-Stick
Hello USB-Stick-Booters,
i followed the instructions on this site to install sysrescue on a bootable
USB-Stick and plugged it into my CF18 Toughbook. Booting didn't work,
instead the CF18 reported "Missing operating system"
Installing lilo as a bootmanager in the MBR of my USB-Stick resolved the problem.
The command i used: lilo -M /dev/sdb
with my USB-Stick being dev/sdb and the partition on which sysrescue is
installed being dev/sdb1. lilo automatically detects the primary partition which is marked active / bootable and installs the MBR accordingly.
You can use fdisk or other partition managers on the USB-Stick like fdisk /dev/sdb to make sure that the partition you wish to boot is marked as active / bootable.
|
| 07 Apr 2008, 07:58 |
|
 |
|
Dolmio
Joined: 26 Aug 2008, 08:25 Posts: 2
|
 Re: MBR required for booting from USB-Stick
frank wrote: Hello USB-Stick-Booters, You can use fdisk or other partition managers on the USB-Stick like fdisk /dev/sdb to make sure that the partition you wish to boot is marked as active / bootable.
Thanks. You solved my problem. I can boot on my USB-stick after I made it bootable in Gparted.
It works with Lilo, as you suggest but it also works with Code: install-mbr /dev/sdx
Thanks again. You have saved me a lot of time :D
/Dolmio
|
| 26 Aug 2008, 08:36 |
|
 |
|
steve6375
Joined: 21 Mar 2013, 00:28 Posts: 1
|
 Re: Can't boot from usb-stick
To boot from nearly any linux iso, use the partnew method in grub4dos - tested and works fine! The ISO file must be contiguous (use WinContig to defrag it if you get Error 60) Code: title systemrescuecd-x86-3.4.2.iso #enable parttype output debug on # check if an empty table entry in 4th position in ptn table parttype (hd0,3) | set check= debug off set check=%check:~-5,4% if "%check%"=="0x00" partnew (hd0,3) 0 0 0 if not "%check%"=="0x00" echo WARNING: PTN TABLE 4 IS ALREADY IN USE! && pause && configfile /menu.lst debug on map /systemrescuecd-x86-3.4.2.iso (0xff) map --hook partnew (hd0,3) 0 /systemrescuecd-x86-3.4.2.iso root (0xff) chainloader (0xff)
|
| 21 Mar 2013, 00:32 |
|
 |
|
EdP
Joined: 29 Mar 2013, 19:45 Posts: 16 Location: Western New York, USA
|
 Re: Can't boot from usb-stick
I'm not sure that will work with newer pcs Steve. Many have multiple partitions as a standard hdd config. EFI, boot, Rescue, Recovery in addition to C:. This is a picture of my wife's new netbook hdd config.  Uploaded with ImageShack.us Sorry Steve, I misunderstood. Your code is referring to the 4 partition on a Flash drive NOT the harddrive. 
|
| 29 Mar 2013, 20:06 |
|
 |
|