Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Boot from local disk failed - Debian

Ask your questions here.

Boot from local disk failed - Debian

Postby raymerjacque » Thu Oct 02, 2014 5:09 pm

After i build my snapshot, everything works flawless except the "boot from local disk" option.

it gives me the following error :

Booting from local disk ...
Boot failed : press a key to retry ...


I have changed nothing in the ISO linux folder except distro name in config's. I also checked the menu entry under local boot to my old config and it is the same :

label harddisk
menu label Boot hard disk
localboot 0x80





#everything below is from the original debian file
#
#label livefailsafe
# menu label Live (failsafe)
# kernel /live/vmlinuz
# append initrd=/live/initrd.img boot=live config noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal
#
#label floppy
# localboot 0x00
#label disk1
# localboot 0x80
#label disk2
# localboot 0x81
#label nextboot
# localboot -1





Any idea how to fix this ? I am using latest refractasnapshot on Debian Testing...
raymerjacque
 
Posts: 105
Joined: Sun Nov 03, 2013 9:37 am

Re: Boot from local disk failed - Debian

Postby fsmithred » Fri Oct 03, 2014 12:55 pm

I ran into this recently when testing live-cds from other distros. Didn't try to diagnose it. Maybe try 0x81 instead of 0x80. If you're running this from usb, you can plug it in to edit the boot menu (unless you used dd to put the image onto the usb.)

Here's a discussion about a similar problem with some answers from the author of syslinux.
http://www.gossamer-threads.com/lists/s ... users/8859

I'm away from home for a few days, so I can't test, but I will when I get back.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Boot from local disk failed - Debian

Postby raymerjacque » Sat Oct 04, 2014 11:12 pm

just tried 81, did not work, same error, just thought id let you know.
raymerjacque
 
Posts: 105
Joined: Sun Nov 03, 2013 9:37 am

Re: Boot from local disk failed - Debian

Postby raymerjacque » Wed Oct 15, 2014 7:53 pm

anyone found a fix for this yet ?
raymerjacque
 
Posts: 105
Joined: Sun Nov 03, 2013 9:37 am

Re: Boot from local disk failed - Debian

Postby dzz » Wed Oct 15, 2014 8:47 pm

Try this: http://www.syslinux.org/wiki/index.php/ ... /chain.c32

Code: Select all
:~$ find /usr -name chain.c32
/usr/lib/syslinux/chain.c32

Copy it into your syslinux/ or isolinux/ in the live media and edit live.cfg like it says in the syslinux wiki
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Boot from local disk failed - Debian

Postby raymerjacque » Wed Oct 15, 2014 8:52 pm

Thank you, i will try this and get back to you :)
raymerjacque
 
Posts: 105
Joined: Sun Nov 03, 2013 9:37 am

Re: Boot from local disk failed - Debian

Postby fsmithred » Wed Oct 15, 2014 11:16 pm

Cool! It took a few attempts, but I got it to work. At the boot menu, scroll down to Boot Hard Disk.
Hit TAB.
Erase the whole line. (You can do this with any boot entry, but I picked the one with the least text to backspace over.)
Type in the following and hit ENTER
Code: Select all
chain.c32 hd0,0

hd0,0 means First hard disk, master boot record.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Boot from local disk failed - Debian

Postby raymerjacque » Thu Oct 16, 2014 2:34 pm

ok this did not work for me...

I edited the live.cfg file and replaced

Code: Select all
localboot 0x80


with

Code: Select all
chain.c32 hd0,0


still it gives boot failed. Am i doing it wrong ? My distro is based on Debian Testing.
raymerjacque
 
Posts: 105
Joined: Sun Nov 03, 2013 9:37 am

Re: Boot from local disk failed - Debian

Postby raymerjacque » Thu Oct 16, 2014 4:26 pm

ok, fixed the problem, I copied the chain.c32 file over from usr/lib/syslinux/bios to usr/lib/refractainstaller/iso/syslinux folder.

After that everything worked :)
raymerjacque
 
Posts: 105
Joined: Sun Nov 03, 2013 9:37 am

Re: Boot from local disk failed - Debian

Postby dzz » Thu Oct 16, 2014 5:06 pm

Some locations of syslinux/isolinux files got changed in recent versions.

Note (if you booted from usb) bios will probably see your fixed disk as hd1 .. (chain.c32 can use a "swap" option)

You might not need e.g. "hd0,0" .. works here (booted from usb) with just "hd1"
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred