I used UNetbootin to make a live usb with slitaz. When booting from itn I get the message
"VFS: Cannot open root device "(null)" or unknown-block(0,66)"
Help please...
I used UNetbootin to make a live usb with slitaz. When booting from itn I get the message
"VFS: Cannot open root device "(null)" or unknown-block(0,66)"
Help please...
Anybody? I'm trying to do this on Linux Mint 9, and using a CD is not an option for me.
Which slitaz iso are you trying to run?
If you loop mount the iso and see /boot/rootfs1.gz,rootfs2.gz,rootfs3.gz,rootfs4.gz it's a 4-in-1
The 4-in-1 versions will only work with the boot loader installed by tazusb.
To run tazusb you have to boot into slitaz.
There is a way to combine the multiple rootfs.gz into one but I don't know the command.
If you have the iso with one rootfs.gz you can loop mount the iso and copy the contents to a folder of the mint drive.
Use mints bootloader to start slitaz.
See frugal install : http://doc.slitaz.org/en:guides:uncommoninst
You may choose to run like this or run tazusb to install to flash drive with slitaz iso as source.
I'm trying to run Slitaz 4.0 RC3. I don't know what loop mounting is, but I can see in the contents of the iso that is has indeed 4 of those rootfs's.
I will check the guide. But are you saying I need an older version of Slitaz which has just one rootfs?
EDIT: I guess my problem is this. In order to create a live USB I need tazusb. But in order to get tazusb I already need a working version of Slitaz...
A frugal install to the hard drive is better than a usb frugal install IMO because it boots faster.
The command which combines the multiple rootfs.gz into one from tazlito script frugal install :
http://hg.slitaz.org/tazlito/file/dad13f80ffc3/tazlito => Line 2534
cat $(ls -r rootfs*.gz) > rootfs.gz
I tested this by successfully upgrading an older frugal hard drive install by replacing it's rootfs.gz with a new one made by combining the four from the 2012.03.24 rolling iso.
[1] Use a tool called isomaster to extract the 4 rootfs.gz and bzImage from the iso into a folder.
[2] Open terminal,login root,cd to rootfs*.gz folder
[3] cat $(ls -r rootfs*.gz) > rootfs.gz
You copy rootfs.gz and bzImage to the linux mint partition.
Edit /boot/grub/grub.cfg for grub2 to add a SliTaz boot entry with the absolute path to rootfs.gz and bzImage.
I managed to get the slitaz 4.0RC2 iso booting from a flash drive using grub2. Basically the procedure is to
1. Create your flash drive partition and create a VFAT filesystem (although most any other filesystem should work too). Make sure the partition is bootable
2. Mount your flash drive and Install grub2 to the flash drive: "sudo grub-install --force --no-floppy --root-directory=</path/to/flashdrive/mountpoint> /dev/<sdb/c/d or whatever>"
3. Create a grub.cfg file like:
menuentry "Slitaz 4.0RC2" {
set isofile="/slitaz-new.iso"
loopback loop $isofile
linux (loop)/boot/bzImage lang=en kmap=us isofrom=$isofile boot=live noeject root=/dev/null
initrd (loop)/boot/rootfs.gz
}
and copy it to </path/to/flashdrive/mountpoint/boot/grub/grub.cfg>
4. Create a directory somewhere on your computer (mkdir slitaz). Loop mount the slitaz iso to that directory like: "sudo mount -o loop <path to slitaz iso file> slitaz"
5. Create another directory (mkdir slitaz-new) and copy the slitaz files into it: "sudo cp -a slitaz/* slitaz-new/"
6. "cd slitaz-new/boot && su root"
7. "cat rootfs4.gz rootfs3.gz rootfs2.gz rootfs1.gz > rootfs.gz" NOTE: the order is important!! It won't work correctly if you do this in any other order!! It's basically assembling the different levels of slitaz filesystems into one...but if you do it in a different order, you won't get the full slitaz boot, but one of the lower more minimal boot levels.
8. "rm rootfs{1,2,3,4}.gz"
9. "cd ../../ && exit" (Just leave the slitaz-new directory and change back to your regular user)
10. "genisoimage -R -o slitaz-new.iso -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -no-emul-boot -boot-l oad-size 4 -V "SliTaz" -input-charset iso8859-1 -boot-info-table slitaz-new" This creates the new iso image with the single rootfs.gz that can be booted with grub2.
11. Copy slitaz-new.iso to the root of your new flash drive partition and test it out!
Hope that helps!
Scott
Followed firecast53 above and it worked booting from RC3, but nothing 'sticks', eg updates, config changes files that get created
You must log in to post.