Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

edit syslinux boot menu from live

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
cc
Posts: 820
Joined: 2005-06-08 19:14

edit syslinux boot menu from live

#1 Post by cc »

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?

User avatar
62chevy
Posts: 1589
Joined: 2009-10-25 01:09
Location: West Virginia

Re: edit syslinux boot menu from live

#2 Post by 62chevy »

/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 Buster

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

Re: edit syslinux boot menu from live

#3 Post by Bro.Tiag »

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

cc
Posts: 820
Joined: 2005-06-08 19:14

Re: edit syslinux boot menu from live

#4 Post by cc »

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?

fsmithred
Posts: 1873
Joined: 2008-01-02 14:52

Re: edit syslinux boot menu from live

#5 Post by fsmithred »

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.

cc
Posts: 820
Joined: 2005-06-08 19:14

Re: edit syslinux boot menu from live

#6 Post by cc »

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

Post Reply