I have installed Slitaz 4 on HDD (actually its a Compact flash card but using as HDD) from the tazpanel of livecd and added files/programs and setup exactly how I want it. Now I want to get it all booting in frugal mode, i.e. in RAM. The application is going on a vehicle that can be shut down at any time by the driver and this is why I want to convert it to frugal.
Currently it loads via grub and I have been trying for days to get it to boot frugal.
What I have done so far is;
1. tazusb writefs none
This created rootfs.gz in the root directory
2. Moved rootfs.gz to boot: mv rootfs.gz /boot/.
3. Edit file /boot/grub/menu.lst
Current HDD boot is as follows (and loads);
title Slitaz GNU/linux (cooking) (kernel vmlinuz-2.6.37-slitaz)
kernel /boot/vmlinuz-2.6.37-slitaz root=/dev/sda1 quiet
Added at the end:
kernel /boot/bzImage rw root=/dev/null home=/dev/sda1
I tried rebooting and selecting ram_boot in grub menu and then found it was missing bzImage
So I then did
4. copy bzImage from livecd to /boot/
The system does get a lot further now but hangs with messages as follows:
Cannot open root device "NULL" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
A lot of text but sda1 is listed.
If I go back and load item 1 in the grub menu all works fine but HDD not frugal. Any ideas...?