Linux - SoftwareThis 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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Loop mount the DSL iso to find the kernel: First create a directory in your /home/user directory. mkdir test, then: mount -o loop dsl-4.4.10.iso test. You should then be able to see the DSL directories/files. The DSL version I have has the kernel in the / directory and it is called linux24. The initrd is minirt24.gz. Not sure these files will be the same in your version of DSL. The casper directory, as far as I know, is only used with Ubuntu and its derivatives.
The entry below is what I use to boot DSL off a CD, you'll likely need to modify it for Grub2:
thanks, but in your example there is no path to .iso ?
Correct. As I stated in my post above, the entry I showed is for Grub Legacy and you will need to modify it for Grub2.
You will probably need to replace your casper entries with knoppix.
You will also need to mount the iso image of DSL to find out what the kernel and initrd files are actually named.
In the version of DSL I have, the kernel is "linux24" and the initrd is "minirt24.gz".
You will also need to verify where the kernel and initrd files are. In the version I have, they are in root directory.
The original error message from your first post is because it is looking for the kernel in the casper directory which
does not exist. Also, it is probably named incorrectly. Find the correct name for the kernel by mounting the iso first.
also, grub2 says 'kernel' is unknown command, tried with 'linux' instead but still doesn't boot.
Again, that is because the entry is from Grub Legacy and as I said you will need to modify it for Grub2.
You could try the entry below. Obviously, you will need to verify those are the correct kernel/initrd names and locations
by mounting the iso. Check the isolinux.cfg entry on the mounted DSL iso to see what the entry is there and modify it if necessary.
Didn't really think it would work and I guess the information in the link you posted pretty much explains why.
I haven't used Grub2 much. I put Ubuntu and several of its derivates on a DVD as iso files and booted them. Tried
a couple of non-ubuntu without much luck. Did manage to get Parted Magic to boot from iso. Haven't really experimented much with this.
they say that
"Adding an Unlisted ISO: To try ISO Files that are not yet listed, use the existing menuentry examples in /boot/grub/grub.cfg and append any options normally found in the distributions syslinux.cfg file on the "append" line to the "linux" line of the menu entry.
Please inform me of entries you get to work and I will add them to the list, so that others may benefit as well."
I believe that if it works with USB it should work with HDD, too.
In your first post, you show the DSL iso as being in /boot/iso subdirectory of sda5 (hd0,msdos5).
If that is where the DSL iso is, leave the setisofile line as is. If your DSL iso is elsewhere, you will need to change that.
Have you loop mounted the DSL iso to find where your kernel (linux24) actually is. The version I had showed it in the / directory and your entry shows it in /boot/isolinux:
You will obviously need to change the menuentry line to whatever DSL you have.
The loopback loop line may need to change. On my system, Ubuntu is on sda5 (hd0,5) and pmagic is in the / directory. If you have your DSL iso file elsewhere, you will need to change that to reflect where it actually is. If it doesn't boot from a subdirectory such as /boot/isolinus/, try putting the iso file in /.
The linux (loop) line needs the isofrom=/dev/sda5/your dsl iso filename here.
The entries above for pmagic will obviously not work. You will need to loop mount the DSL iso and get the correct lines from syslinux.cfg or isolinux.cfg. The append options will need to go on the linux (loop) line.
The entry in your last post should work to boot DSL from the usb but I doubt it will work from the drive. I though you wanted to boot the iso image? If you just want to boot DSL from the drive, install it to a partition and run sudo update-grub.
I used another version of DSL to create the entry above. Your DSL iso will need to be in the root (/) of sda5. If you have the iso image elsewhere you will have to change the entry above to suit. Where Knoppix is in upper-case letters, it will need to be upper-case. Where it is lower-case, it will need to be lower case.
The pendrive linux creates different directories during the installation than you will see on a standard install CD. Copy the dsl-4.4.10.iso to the root of sda5 before trying this. Haven't tested this as I don't have an iso file of DSL?