jimihieu
Group: Members
Posts: 73
Joined: Mar. 2006 |
|
Posted: June 01 2006,06:25 |
|
Quote (hamada @ Mar. 26 2006,10:05) | 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 |
hmm i do like what is told but then still got this error when boot up using Remastered LiveCD: VFS: cannot open root device "<NULL>" or unknown-block (3,12) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (3,12)
I did some google and seem to cant solve the problems. Note that u remaster the LiveCD from the source that is from /dev/hda12
Anyone know more hints please help! thanx
|