Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Usb-stick error loading operating system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Mon Nov 29, 2010 3:00 pm    Post subject: [Solved]Usb-stick error loading operating system Reply with quote

I tried following these instructions: http://www.gentoo.org/doc/en/liveusb.xml to install on a system without a disc drive.
When trying to boot, I get "Error loading operating system". I take it this means I lack a boot loader on the usb-drive, but I don't know what to do about it.

Tried rerunning syslinux on it, but that didn't help.


Last edited by Letharion on Mon Nov 29, 2010 6:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
n3bul4
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 187

PostPosted: Mon Nov 29, 2010 3:09 pm    Post subject: Reply with quote

Why not simply install the bootloader as described in the document
you mentioned?

Regards
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Mon Nov 29, 2010 3:23 pm    Post subject: Reply with quote

I thought that's what I did with
Code:
syslinux /dev/sdx1
which I said in my post that I tried rerunning.
Not sure if syslinux should return something when it works, I get no output at all, and there seems to be debug/verbose switch.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Nov 29, 2010 6:27 pm    Post subject: Reply with quote

you did enter bios and determine that the diskless computer in question could be selected to boot usb in general and your usb-stick in particular?
some bios insist that the bootable partition has the boot flag toggled. Is yours?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Mon Nov 29, 2010 6:32 pm    Post subject: Reply with quote

Letharion,

The "Error loading operating system" error comes from the BIOS. Be sure you have exactly one partition with the bootable flag set.
Some BIOSes don't care, others are very picky.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Mon Nov 29, 2010 6:44 pm    Post subject: Reply with quote

I checked that exactly one partition had the bootable flag set, and that was correct.
I also noticed
Quote:
Partition 1 has different physical/logical endings:
phys=(973, 128, 32) logical=(965, 122, 32)

which seemed strange. I did the whole guide again, from beginning to end, and while the different endings remain, I can now boot from the drive.
I suppose I just typed something wrong the first time.

Thanks :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum