Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-27-2009, 04:14 PM
|
#1
|
Member
Registered: Jan 2009
Posts: 49
Rep:
|
Making Syslinux boot a different partition also with Syslinux.
I'm trying to make a multi-boot Syslinux USB flash drive. I want to do the following:
/dev/sda1 -> Boot partition, very small, just for Syslinux main menu.
/dev/sda2 -> eg: Damn Small Linux with Syslinux installed.
/dev/sda3 -> eg: Puppy Linux with Syslinux installed.
...
But how can I, from the syslinux installed on sda1 boot sda2 or sda3? And if possible, using "relative paths"? Let me explain: if I go to a computer with a SATA drive, the USB disk will be /dev/sdb* and not sda, so Syslinux can't boot sda2 or 3. Those are partitions of the SATA disk, not of the USB disk.
It could be something like in GRUB:
root(hd0,1)
chainloader +1
And that will boot /dev/sda2, from a GRUB installation on sda1.
Hope anybody understood, ToKico
|
|
|
02-27-2009, 06:01 PM
|
#2
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
you would edit the syslinux.cfg in a similar way that you would edit /boot/grub/grub.conf
although the syntax is probably different, same concept
this is the relevant part of the isolinux.cfg from the lfs live boot cd, which is the same syntactically i believe as syslinux.cfg
Code:
label linux
kernel linux
append initrd=initramfs_data_cpio.gz quiet
label linux64
kernel linux64
append initrd=initramfs_data64_cpio.gz quiet
Last edited by frieza; 02-27-2009 at 06:03 PM.
|
|
|
02-28-2009, 07:32 AM
|
#3
|
Member
Registered: Jan 2009
Posts: 49
Original Poster
Rep:
|
That's not what I want. I want to boot a kernel/initrd located on another partition, not on the same.
|
|
|
02-28-2009, 11:28 AM
|
#4
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
that was an example..
here is some documentation on syslinux
http://syslinux.zytor.com/wiki/index.php/SYSLINUX
|
|
|
03-01-2009, 08:49 AM
|
#5
|
Member
Registered: Jan 2009
Posts: 49
Original Poster
Rep:
|
I've read that and I saw a kernel append option: "root=". Will that solve my problem? And for the "relative drive" I could use by-uuid, right?
|
|
|
03-02-2009, 11:00 AM
|
#6
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
probably,  wont know for sure until ya try it but that would be my guess, or use the same scheme as grub uses
|
|
|
03-04-2009, 09:37 AM
|
#7
|
Member
Registered: Jan 2009
Posts: 49
Original Poster
Rep:
|
Quote:
Originally Posted by frieza
probably,  wont know for sure until ya try it but that would be my guess, or use the same scheme as grub uses
|
Thanks anyway, but I'm going to use GRUB.
Mods: close the topic, please.
|
|
|
All times are GMT -5. The time now is 07:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|