You are not logged in.
I am installing slitaz to my HDD right now. I have to do it manually (no internet). Everything seems to go good until I enter:
# cp /media/cdrom/boot/rootfs.gz /mnt/target
Then the terminal says:
cp can't stat '# cp /media/cdrom/boot/rootfs.gz /mnt/target': no such file or directory
What I am doing wrong?
Reference: http://doc.slitaz.org/en:handbook:installation => Manual ('By Hand') Installation
Offline
[c]can't stat[/c] means there is no /media/cdrom/boot/rootfs.gz to copy
List the contents of /media/cdrom/boot/
[c]ls /media/cdrom/boot[/c]
Offline
Thanks, I'll try listing it and see what happens. I sent my other post before I seen this one. I was still on the page and hadn't refreshed it.
This installation procedure is for slitaz 3.0. Some things like " vmlinuz.gz" have changed in the new edition. It would be greatly appreciated if someone had the time to edit the above process for slitaz 4. I'm not sure if I can find all the necessary changes myself, I might miss something. Cudos on this os though, I like this live version better than any other I tried.
Offline
I ran the list command and it shows:
rootfs1.gz
rootfs2.gz
rootfs3.gz
rootfs4.gz
In addition to these files:
bzImage
gpxe
grub
isolinux
vmlinuz-2.6.37-slitaz
Any idea which I should use for my "by hand" installation?
The rootfs*.gz have to be combined into rootfs.gz
I tried substituting rootfs1.gz for all places that originally said rootfs.gz and everything appeared to go well until I entered:
rm rootfs1.gz init
rm: can't remove 'init': no such file or directory
Extract the rootfs.gz to get init
I am lost! I thought I had it, I was on the last command or two and just don't know what to do from here.
When lost use the ls command to set what files are in the current directory
Offline
Make the boot directory,copy the kernel:
[c]# mkdir /mnt/target/boot[/c]
[c]# cp -a /media/cdrom/boot/vmlinuz-* /mnt/target/boot[/c]
Copy the 4 rootfs.gz
[c]# cp /media/cdrom/boot/rootfs*.gz /mnt/target[/c]
Change into the directory with the rootfs*.gz
[c]# cd /mnt/target[/c]
Combine the 4 rootfs.gz into 1 rootfs.gz
[c]# cat $(ls -r rootfs*.gz) > rootfs.gz[/c]
Extract the file tree from rootfs.gz
[c]# lzma d rootfs.gz -so | cpio -id[/c]
Remove init and the rootfs*.gz
[c]# rm init rootfs*.gz[/c]
Offline
Thank you! Wish me luck
!
Offline
@mojo
I just tried your recommendation for a different purpose - and it worked straight! I used a loram-version.iso of Slitaz 4.0. Before I was not able to boot the uncombined serial rootfs1.gz rootfs2.gz etc. and got a kernel panic with that. The combined version was no problem.
Extraction (which I did not need, just for fun) worked as well.
Regards and thanks,
Michael
Offline
@mojo
YES!!!! It worked great! Thanks for the help!
Offline
Hello all!
Im trying the manual install of slitaz 4 from a xubuntu and i used ur command :
Combine the 4 rootfs.gz into 1 rootfs.gz
# cat $(ls -r rootfs*.gz) > rootfs.gz
but i get errors when i try to extract rootfs.gz and if i test (#lzma -t rootfs.gz) i get a "corrupted data" error.
Is there a particular option to use, or do i do something very wrong?
Offline
@boiss007
You have to extract with lzma and cpio built into busybox used by Slitaz.
The easiest solution is to boot into SliTaz live cd,open terminal and extract rootfs.gz
# [c]lzma d rootfs.gz -so | cpio -id[/c]
Offline
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]