edit syslinux boot menu from live

Help with issues regarding installation of Debian

edit syslinux boot menu from live

Postby cc » 2011-03-04 16:36

hi

I've created live squeeze usb-hdd with syslinux as boot manager:
Code: Select all
LB_BOOTLOADER="syslinux"

Now if I boot from this usb-hdd image I get in the boot menu:

Live
Live (faisafe)
Live 686
Live 686 (failsafe)

Howto configure to put these "failsafes" away?
cc
 
Posts: 821
Joined: 2005-06-08 19:14

Re: edit syslinux boot menu from live

Postby 62chevy » 2011-03-04 18:32

/etc/grub.d/10_linux should have what you are looking for. May just need to comment out the part that creates failsafe.

Personally I'd leave them in, they take up very little space and could come in useful someday.
Debian Squeeze
Debian Sid
SalineOS 1.5
User avatar
62chevy
 
Posts: 1569
Joined: 2009-10-25 01:09
Location: West Virginia

Re: edit syslinux boot menu from live

Postby Bro.Tiag » 2011-03-04 19:26

I think if you are using a debian LiveCD it's not booted via grub, but rather syslinux, ergo you need to edit:

isolinux/menu.cfg

Cheers
User avatar
Bro.Tiag
 
Posts: 1939
Joined: 2007-06-02 19:14

Re: edit syslinux boot menu from live

Postby cc » 2011-03-04 20:07

Bro.Tiag wrote:I think if you are using a debian LiveCD it's not booted via grub, but rather syslinux, ergo you need to edit:

isolinux/menu.cfg

Cheers


Thx, but where should I put this isolinux/menu.cfg file before image creation?
cc
 
Posts: 821
Joined: 2005-06-08 19:14

Re: edit syslinux boot menu from live

Postby fsmithred » 2011-03-04 22:14

I don't know how to do it before the build, but you could do it afterward like this (as root)
Code: Select all
mount -t vfat -o loop,offset=512 binary.img mountpoint
Then edit mountpoint/syslinux/live.cfg, save the changes and 'umount mountpoint'

You might be able to do it before the build if you use the --interactive shell option for lb config. I've never tried that. I'm guessing you'd edit binary/isolinux/live.cfg in your build directory.
fsmithred
 
Posts: 1688
Joined: 2008-01-02 14:52

Re: edit syslinux boot menu from live

Postby cc » 2011-03-05 02:04

fsmithred wrote:I don't know how to do it before the build, but you could do it afterward like this (as root)
Code: Select all
mount -t vfat -o loop,offset=512 binary.img mountpoint
Then edit mountpoint/syslinux/live.cfg, save the changes and 'umount mountpoint'

Thx a lot it works excellent!

greetings
cc
cc
 
Posts: 821
Joined: 2005-06-08 19:14


Return to Installation

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable