LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   grub commands for slax /slax frodo (http://www.linuxquestions.org/questions/linux-general-1/grub-commands-for-slax-slax-frodo-464060/)

Paridoth 07-14-2006 01:54 PM

grub commands for slax /slax frodo
 
i am attempting to boot slax frodo with grub, i have grub and the contents of the slax frodo ISO on a 512 MB thumb drive in seperate ext2 paritions, grub on the first and slax on the second. i have created a menu.lst so that grub will boot slax. i looked at the isolinux.cfg on the slax ISO and see the following things
Code:

display boot/splash.cfg
default slax
prompt 1
timeout 40
F1 boot/splash.txt
F2 boot/splash.cfg

label slax
kernel boot/vmlinuz
append vga=769 max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw

label linux
kernel boot/vmlinuz
append vga=769 max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw

label memtest
kernel boot/memtest

and have created a menu.lst acording to these specifications as seen bellow
Code:

title      slax frodo
root      (hd0,1)
kernel      /boot/vmlinuz vga=769 max_loop=255 initrd=/boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw
initrd      initrd=/boot/initrd.gz
boot

when i choose slax frodo from the list i get the following message
Code:

error 1: Filename must be iether an absolute pathname or a blocklist
press any key to continue...

to make sure that grub recognizes the flash drive as (hd0) i made a test file called test00 and test 01, i put test 00 in the partition with grub in it, and test01 in the partition with slax, then i ran
Code:

find /test00
it gave me (hd0,0) and when i ran
Code:

find /test01
i got (hd0,1)
what am i doing wrong?

homey 07-15-2006 01:44 PM

Maybe this will work

Code:

        color light-gray/blue black/light-gray
title *=*=*=*=*=*=*=*=*=*=*=*=* BOOT MENU *=*=*=*=*=*=*=*=*=*=*=*=*=*=*
root (hd0)

title slax frodo
kernel /boot/vmlinuz vga=769 max_loop=255 initrd=/boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw
initrd initrd=/boot/initrd.gz


Paridoth 07-15-2006 11:05 PM

yes thankyou it turned out i had some breaks in the lines i didnt notice when i copied it from the linuxiso.cfg


All times are GMT -5. The time now is 08:21 AM.