You are not logged in.
went to 'make live usb'
put in Slitaz 4.0 CD
SliTaz 5.0-rc2 recognized It !
BUT
..... When I booted the stick
I got ver. 4 but with the black screen stuff
suggested in the SliTaz 5.0-rc2 thread
The live cd was SliTaz 4.0 so that is why you got that on your stick, if you want 5.0, use a live cd of 5.0 to get a 5.0 installation.
Another way is to use a web install, but I can't remember off hand how that works.
It was something like: boot from live media, put in your pendrive, menu > <create live pendrive>, select web install, etc.
Hej Slitaz
First thank's to a great distro.
I have troubles with writefs: When I try to use the written
rootfs everything works fine until unpack rootfs.
I get the following messages:
"kernel panic - not syncing: attemted to kill init!
pid: 1, comm: init Not tainted 3.2.53-slitaz #4
Call Trace:"
Then 6 lines are written and the PC stops.
The same applies when I try to write CD-iso via the menues.
The trouble only applies to RC 1 og 2 not to former editions.
Kindly Ove Overgaard
Haugesundvej 34
2850 Nærum
Offline
Closest Yet !
Boot usb stick w/4.0 core
Add apps
Writefs
Overwrite rootfs.gz on stick with new rootfs.gz
Problem is trying to reboot gives :
" failed to execute login command "
then passwords .... but then back to :
" failed to execute login command "
So close
......... Any ideas ???????
Offline
using fat instead of ext3 ?
do a search on the forum this has been mentionned over and over again i think
Offline
Fat because making usb w/XP
OK used linux for new usb
With ext2 (or ext3)
I can copy but not paste .... ????
Offline
Used dd to move file with ext3 bootstick
same result
Offline
Even after re reading this thread, I am not sure if you are trying to create a 'live' pendrive or whether you are trying to make an 'ordinary installation' onto a pendrive.
Please clarify which, so that we may be able to help further.
Sorry for the confusion......I tried both.
O.K. Starting over :
I would like to make a 'live' pendrive
with the addition of a couple of apps
(midicom and wine ( with a couple of windows programs installed ) )
Offline
OK, so are you getting a new .iso file or just a new rootfs.gz?
(Using the slitaz-4.0-core.iso.)
In the root of your .iso there should be,
boot index.html md5sum README style.css
& under /boot there should be,
bzImage gpxe grub isolinux rootfs.gz vmlinuz-2.6.37-slitaz
> are you getting a new .iso file or just a new rootfs.gz?
edit: stick is fat32 since I use XP app to make it
booting on 4.0-core usb stick
making no additions
using live cd tool (write iso).....after some time I get this:
"
filesystem size: 31.6M
When Slitaz is running in RAM the kernal and bootloader files are kept on the cdrom.
Please insert a live cd or loop mount the slitaz.iso to /media/cdrom to let Tazlito
copy the files........enter to continue
"
when I hit enter the window goes away.
Offline
I only use Linux, so have no idea how your XP version is creating your cd/iso.
Best if you do it the SliTaz way, then we will know where it is going wrong.
However if you have an .iso file, it looks like maybe the grub boot line is perhaps wrong, pointing to the wrong HDD. (I forgot SliTaz puts the root designator into the grub boot line.)
When your live cd starts to boot, at the grub screen, type 'e' to edit the boot line. You will need to type 'e' again to actually edit the line. See if it is showing the correct boot partition. If not, change it, also check the init line, edit if necessary, then continue to boot up.
(Let us know if you had to alter it, & to what.)
> I only use Linux, so have no idea how
> your XP version is creating your cd/iso.
I have Slitaz 4.0 on HD of 2nd PC...
Acts the same way.
It will not make an .iso file from the running system file
Again I get :
filesystem size: 31.6M
When Slitaz is running in RAM the kernal and bootloader files are kept on the cdrom.
Please insert a live cd or loop mount the slitaz.iso to /media/cdrom to let Tazlito
copy the files........enter to continue
I can make a bootable stick using an existing .iso, but can't make a new one (.iso)
with added apps. Or even from running system without modifications.
I can make a rootfs.gz, but when I replace the existing rootfs.gz I get the
'failed to execute login command' error on attempted boot.
Do you,in fact, make bootable sticks with added apps ?
Offline
Please insert a live cd or loop mount the slitaz.iso to /media/cdrom to let Tazlito
copy the files........enter to continue
Did you do this, as that is where it will copy files from to create your live cd.iso.
Either mount your 'live' system to /media/cdrom or loop mount a .iso file to /media/cdrom.
That is, mount <my-livecd-drive> /media/cdrom or mount -o loop <your-iso-image-file> /media/cdrom.
Do you,in fact, make bootable sticks with added apps ?
Yes, I used tazlito to do it. I created a livecd .iso & then dd'd it to my pendrive.
My notes that I wrote for my future reference say -
tazlito writeiso lzma <name>
Needs a .iso file loop mounted at /media/cdrom => creates a live cd image of an installed filesystem.
So it definately does work.
So from re reading my notes, make the changes to your installed system, mount a live cd or loop mount an live .iso image at /media/cdrom, run tazlito writeiso lzma <whatever-name-to-call-your-new-iso>.
That should create a new .iso file for you to burn to cd or dd to a pendrive.
If it doesn't boot up, you will need to run isohybrid <your-iso-name> to make it a 'hybrid' iso that will boot from a pendrive.
OK ........tried the cd ..........doesn't seem to recognize it .........
I have no idea how to 'loop mount' ...... Can I do that from GUI
or do I have to use the terminal ????
Offline
@hitsware
The gui mount tool that included loop mounting was removed after slitaz-3.0
There is a mount section in slitaz-5.0/cooking hardware section of tazpanel:
http://tazpanel:82/hardware.cgi
It doesn't look like it will loop mount an iso.
It shows what is loop mounted on the system and has the option to Setup a backing file.
tazpanel/hardware.cgi http://hg.slitaz.org/tazpanel/file/6adca10ef270/hardware.cgi
I was able to unmount the iso I had mounted in terminal.
This is how to do it in terminal:
Substitute your iso name in the following commands for slitaz.iso
Move a copy of the slitaz.iso to /home/tux
When you login as tux you won't have to type the path to the iso in your commands.
Open terminal.
tux@slitaz:~ $
Type
[c]su[/c]
Hit Enter key
Note: When a password is typed in terminal it is not visible in the terminal.
You won't see a dot for each character you type in either.
This is to prevent someone looking at the terminal from seeing your password.
Password:
Type
[c]root[/c]
Hit Enter key
root@slitaz:/home/tux #
Type
[c]mount -o loop slitaz.iso /media/cdrom[/c]
Hit Enter key
Verify the slitaz.iso is loop mounted to /media/cdrom
Type
[c]ls /media/cdrom[/c]
Hit Enter key
[c]boot index.html md5sum README style.css[/c]
Yes it's mounted, if it wasn't the contents of the iso wouldn't be listed.
To clone my running system into an iso:
Type:
[c]tazlito writeiso gzip[/c]
Hit Enter
or
[c]tazlito writeiso lzma[/c]
Hit Enter
Offline
@Mojo .... thanks !
Will the below work with some older version ?
It seems the newer versions get further and further away from the documentation ?
To generate your own LiveUSB media, first you need to login as root with su and locate your usb storage device using the command:
# fdisk -l # normally /dev/sdb1
Then format and label your device (Warning: this will erase all data, make sure you specify the right device):
# tazusb format /dev/sdb1
And finally generate your LiveUSB media device:
# tazusb gen-liveusb /dev/sdb1
And that's all you need to do, you can now boot SliTaz from usb media (providing your computer bios supports this method).
Maintaining system settings
When you finish your LiveUSB session, make sure you maintain your installed packages, system settings, etc, by backing up the entire current filesystem with one the following commands:
fast compression, average filesize:
# tazusb writefs gzip
slow compression, smaller filesize:
# tazusb writefs lzma
no compression, larger filesize:
# tazusb writefs none
Each of these writes everything to a 'rootfs.gz' archive to be loaded the next time you boot.
POSTED 5 DAYS AGO #
Offline
Thank You mojo !
I got as far as having home/slitaz/distro/slitaz.iso
(which I'm assuming has the apps)
How do I make that into a bootable usb stick ?
Offline
Use dd to put it onto your pendrive.
dd if=slitaz.iso of=<your-pendrive> bs=1M
If it doesn't boot up you will need to run isohybrid on your slitaz.iso file,
isohybrid slitaz.iso
then use dd to put it onto your pendrive again.
mojo .... fatmac ....
using mojo's directions got me almost there (booted from ver 4.0 usb)
BUT
booting from 4.0 (HD install) or 4.0-core (HD or usb) gives me ....
[attachment=30345,1508]
Offline
I don't see the mount point /media/cdrom in your command.
[c]# mount -o loop slitaz-4.0-core.iso /media/cdrom[/c]
I don't use DD to burn an iso to USB key because it's readonly.
You won't be able to save any files to the drive.
If I want to install linux or run live usb and I have no cd burner it's convenient.
All it does is save me from using linux live installer or one of the other iso to usb installer programs.
Identify the USB drive you want to use or you'll screw yourself by deleting the wrong partition.
Applications/System Tools/Gparted partition editor format to ext2
Applications/System Tools/Create a LiveUSB
ISO Image: <- Click the menu button,navigate to the iso,Click OK button.
Offline
HOT DOGS !.........FINALLY ! ( after a couple of years ( off and on )
Thank You All 
Only small problems :
1) boots a little slow. Would it be faster if I had compressed to lzma ? ( I did 'none' )
2) when I try to shut down it goes back to log in ?
Offline
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]