DSL Tips and Tricks :: How to boot DSL using Grub !!
How to boot DSL using Grub !!
If you are doing a remastering and want to check that everything si working you have 2 choices:
- Using a BIOS emulator, like qemu that you can find in DSL Embedded, infortunately its rather slow.
- Running the compressed image from Hard Drive or USB key wich is event faster than CD-ROM.
1- you need to creat a subdirectory in the /boot directory named /boot/boot.dsl/isolinux/
and copy there the files linux24 and minirt24.gz from /isolinux/linux24 of the DSL.
2-Copy the /KNOPPIX directory to your root directory of any hard disk.(ext2/3, reiserfs, vfat are supported).
3- edit the file /boot/grub/menu.lst wich contain the boot settings, you must have root previlege to do so.
Here is a copy of my boot setting :
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/hda5
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title Fedora Linux-Plus Core 1
root (hd0,4)
kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdb=ide-scsi rhgb
initrd /boot/initrd-2.4.22-1.2115.nptl.img
title Damn Small Linux #The name that appear in the Grub menu (you can change it if you want)
root (hd0,4)
kernel /boot/boot.knoppix/isolinux/linux24 5 fromhd=/dev/hda1
#number 5 mean the boot runlevel(2=boot in text only mode,5= start X window)
# fromhd mean the device or partition that contain the /KNOPPIX directory(hda for hard drive,sda for USB key)
initrd /boot/boot.knoppix/isolinux/minirt24.gz
...bookmark.
Hi,
Being a newbie to Linux and especially DSL, I'm trying to figure out your grub settings and your description given. You note that one must create a directory:
" /boot/boot.dsl/isolinux/"
yet you later refer to something that resemble it in grub settings (my bolded text):
" kernel /boot/boot.knoppix/isolinux/linux24 5 fromhd=/dev/hda1"
Is this correct what I see, or am I overlooking something wiser than me
Peter
Ooooops!
I made a mistake, your right man
you can use boot.knoppix or any other name of directory you wanna, me I have this file in my boot directory of the Linux distribution(fedora)
thanks for your post:D
Thanks for this. Works perfectly. I had no idea that it would be this easy to have DSL available from my Debian machine!
So when a new version of DSL is released, do I simply need to replace the /Knoppix/ folder and linux24 and minirt24.gz in /boot/boot.dsl/isolinux/ with the new release's version?
Next Page...
original here.