is there a program on ubcd that can boot another partition on the same device?
i only need it because i have ubcd 5 on the first partition of my memory stick, and ubuntu 9.10 on the next. right now what im doing and whats a big pain is using ubuntu as my default boot (by changing the boot flag to second partition in gparted), then if i want to boot ubcd i change the boot flag from ubuntu to the ubcd partition. it takes ages and i remember i somehow used super grub disk or something else once to boot into the next partition so i would not have to change the boot flags every time.
thx
chainload using ubcd prgrm
Moderators: Icecube, StopSpazzing
Re: chainload using ubcd prgrm
You can use chain.c32 for that:
Add this code to one of the syslinux config files in /ubcd/menus/syslinux/ (or to the custom syslinux config file: /ubcd/custom/custom.cfg)
Code: Select all
LABEL ubuntu
MENU LABEL Boot Ubuntu on partition 2
COM32 /boot/syslinux/chain.c32
APPEND hd0,2
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/
Use Parted Magic for handling all partitioning task: http://partedmagic.com/
-
- Posts: 15
- Joined: Thu Jun 18, 2009 4:32 pm
Re: chainload using ubcd prgrm
i didnt work at first (it didnt display the entry)
what i did was i added what u said to the syslinux.cfg, then i added MENU INCLUDE /boot/syslinux/syslinux.cfg into /ubcd/menus/syslinux/menu.cfg
now i have
main
ubuntu
.
.
.
the others that are there by default. i dont need the main label, is it necessary or can i just take it out. when i select it it takes me to the same place, which makes me think i need it.
what i did was i added what u said to the syslinux.cfg, then i added MENU INCLUDE /boot/syslinux/syslinux.cfg into /ubcd/menus/syslinux/menu.cfg
now i have
main
ubuntu
.
.
.
the others that are there by default. i dont need the main label, is it necessary or can i just take it out. when i select it it takes me to the same place, which makes me think i need it.
-
- Posts: 15
- Joined: Thu Jun 18, 2009 4:32 pm
Re: chainload using ubcd prgrm
sorry i didnt read what you said properly now that i look over it again i see that u said essentially what i did...
i changed it to what u said now
thanks
could u also explain how all the menus work? i guess at first syslinux is the bootloader, then it displays main.cfg in /boot/syslinux/ or does it go to /ubcd/boot/syslinux/menus.cfg
i changed it to what u said now
thanks
could u also explain how all the menus work? i guess at first syslinux is the bootloader, then it displays main.cfg in /boot/syslinux/ or does it go to /ubcd/boot/syslinux/menus.cfg
Re: chainload using ubcd prgrm
When SYSLINUX boots, it will look for its configuration file 'syslinux.cfg', in /boot/syslinux, /syslinux and / (SYSLINUX 4 first looks in the directory where Syslinux is installed (where ldlinux.sys is located)). In the case of UBCD, /boot/syslinux/syxlinux.cfg gets read by SYSLINUX and will load /ubcd/menus/syslinux/main.cfg.could u also explain how all the menus work? i guess at first syslinux is the bootloader, then it displays main.cfg in /boot/syslinux/ or does it go to /ubcd/boot/syslinux/menus.cfg
You can read more about the Syslinux syntax at:
http://syslinux.zytor.com/wiki/index.php/SYSLINUX
menu.c32 specific: http://syslinux.zytor.com/wiki/index.ph ... t/menu.c32
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/
Use Parted Magic for handling all partitioning task: http://partedmagic.com/
-
- Posts: 15
- Joined: Thu Jun 18, 2009 4:32 pm