Ask your questions here.
Post a reply
raymerjacque

- raymerjacque
- Posts: 111
- Joined: Sun Nov 03, 2013 9:37 am

## Boot from local disk failed - Debian

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...
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Boot from local disk failed - Debian

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.
raymerjacque

- raymerjacque
- Posts: 111
- Joined: Sun Nov 03, 2013 9:37 am

## Re: Boot from local disk failed - Debian

Sat Oct 04, 2014 11:12 pm

just tried 81, did not work, same error, just thought id let you know.
raymerjacque

- raymerjacque
- Posts: 111
- Joined: Sun Nov 03, 2013 9:37 am

## Re: Boot from local disk failed - Debian

Wed Oct 15, 2014 7:53 pm

anyone found a fix for this yet ?
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: Boot from local disk failed - Debian

Wed Oct 15, 2014 8:47 pm

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

Code:
  `:~$ 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
raymerjacque

- raymerjacque
- Posts: 111
- Joined: Sun Nov 03, 2013 9:37 am

## Re: Boot from local disk failed - Debian

Wed Oct 15, 2014 8:52 pm

Thank you, i will try this and get back to you
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Boot from local disk failed - Debian

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:
  `chain.c32 hd0,0`

hd0,0 means First hard disk, master boot record.
raymerjacque

- raymerjacque
- Posts: 111
- Joined: Sun Nov 03, 2013 9:37 am

## Re: Boot from local disk failed - Debian

Thu Oct 16, 2014 2:34 pm

ok this did not work for me...
I edited the live.cfg file and replaced

Code:
  `localboot 0x80`

with

Code:
  `chain.c32 hd0,0`

still it gives boot failed. Am i doing it wrong ? My distro is based on Debian Testing.
raymerjacque

- raymerjacque
- Posts: 111
- Joined: Sun Nov 03, 2013 9:37 am

## Re: Boot from local disk failed - Debian

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
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: Boot from local disk failed - Debian

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"
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.