HOMEPAGE FORUMS NEWS DOCUMENTATION SCREENSHOTS
SystemRescueCd forums
View unanswered posts | View active topics It is currently 29 Jul 2014, 08:38



Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
 Can't boot from usb-stick 
Author Message

Joined: 18 Nov 2006, 13:09
Posts: 89
Post 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
Profile ICQ
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2700
Post 
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
Profile

Joined: 18 Nov 2006, 13:09
Posts: 89
Post 
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
Profile ICQ

Joined: 18 Nov 2006, 13:09
Posts: 89
Post 
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
Profile ICQ

Joined: 08 Jan 2008, 02:16
Posts: 3
Post 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
Profile
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2700
Post 
I added your comment to the manual, thanks


08 Jan 2008, 07:41
Profile

Joined: 18 Nov 2006, 13:09
Posts: 89
Post 
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
Profile ICQ

Joined: 18 Nov 2006, 13:09
Posts: 89
Post 
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
Profile ICQ

Joined: 08 Jan 2008, 02:16
Posts: 3
Post 
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
Profile

Joined: 18 Nov 2006, 13:09
Posts: 89
Post 
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
Profile ICQ

Joined: 07 Apr 2008, 07:48
Posts: 1
Location: Germany
Post 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
Profile

Joined: 26 Aug 2008, 08:25
Posts: 2
Post 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
Profile

Joined: 21 Mar 2013, 00:28
Posts: 1
Post 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
Profile

Joined: 29 Mar 2013, 19:45
Posts: 16
Location: Western New York, USA
Post 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.

Image
Uploaded with ImageShack.us


Image Sorry Steve, I misunderstood. Your code is referring to the 4 partition on a Flash drive NOT the harddrive. Image


29 Mar 2013, 20:06
Profile

Joined: 11 Nov 2003, 08:49
Posts: 13
Location: Bulgaria
Post Re: Can't boot from usb-stick
I had a strange result after installing SRCD 3.7.0 on a usb stick from Windows. The installation was stictly following the how-to.
I have created 1 primary FAT32 partition on the usb stick and flagged it as boot using GParted 0.16.1.
Then I used the install application from Windows (7).

Some PCs booted from the usb stick, some didn't, issuing a "Missing operating system" at boot time.
I was able to fix the usb stick and get it to boot on all PCs, so I share this small addition to the "Install from Windows" how-to.

What made the usb stick boot on all PCs was the following (from a Windows cmd window):
syslinux -a -m x:
(x: is my usb stick).

Hope it's helpful.


19 Jun 2013, 12:56
Profile ICQ
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.