SliTaz SliTaz Forum

You are not logged in.

#1 2014-07-25 06:08:39

uomonero
Member
Registered: 2014-07-25
Posts: 4

Full Install Slitaz 5.0 RC 2 on a USB drive

So, after using tazusb in order to successfully create a live usb, i've tried to install it persistently on the same usb, formatted as ext4 , label "/" , flag bootable + a linux-swap (sdb1 and sdb2). No errors appeared in meantime. Then i've tried to boot, but it didn't recognize the root, so i had changed root(hd1,0) to root(hd0,0). At this point the system will go next, but just to stuck after errors like "sending discovery", "sda:no caching file", "no such process found" etc...

That's the menu:

# /boot/grub/menu.lst: GRUB boot loader configuration.

#

# By default, boot the first entry.

default 0

# Boot automatically after 8 secs.

timeout 8

# Graphical splash image.

splashimage=/boot/grub/splash.xpm.gz

# Change the colors.

#color yellow/brown light-green/black

# For booting SliTaz from : /dev/sdb1

#

title SliTaz GNU/Linux 5.0 (Kernel vmlinuz-3.2.53-slitaz)

root (hd1,0)

kernel /boot/vmlinuz-3.2.53-slitaz root=/dev/sdb1 quiet rootdelay=9 [attachment=32294,1615]

Offline

#2 2014-07-25 06:49:26

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Full Install Slitaz 5.0 RC 2 on a USB drive

Your menu is configured for a full install not a live frugal install with persistence.

Offline

#3 2014-07-25 06:53:13

uomonero
Member
Registered: 2014-07-25
Posts: 4

Re: Full Install Slitaz 5.0 RC 2 on a USB drive

Yes, it's a full installation, executed from the tazpanel successfully

Offline

#4 2014-07-25 07:20:11

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Full Install Slitaz 5.0 RC 2 on a USB drive

Try to boot this:

title SliTaz GNU/Linux 5.0 (Kernel vmlinuz-3.2.53-slitaz)

root (hd0,0)

kernel /boot/vmlinuz-3.2.53-slitaz root=/dev/sdb1 rootdelay=9

Offline

#5 2014-07-25 07:27:11

uomonero
Member
Registered: 2014-07-25
Posts: 4

Re: Full Install Slitaz 5.0 RC 2 on a USB drive

I've tried quite all the combinations using: sda1, sda, sdb, sdb1, sdc, sdc2, rootdelay=8, rootdelay=10,  quiet, non quiet, root(hd0,0).

Offline

#6 2014-07-25 07:50:08

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Full Install Slitaz 5.0 RC 2 on a USB drive

There is one report of 5.0-rc2 install on SDHC microSD card failing to boot

with similar errors.

3rd post down:

http://forum.slitaz.org/topic/slitaz-50-rc2/page/6

Offline

#7 2014-07-25 09:23:48

Guest
Guest

Re: Full Install Slitaz 5.0 RC 2 on a USB drive

FYI, an alternate way, if can help you, worked for v4 on USB, it might work also for v5: just format the usb as fat, expand the Slitaz iso, copy the files inside the usb as is, run syslinux on the usb, finish... the usb is now bootable with Slitaz4, just add or remove all "russian dolls" you like... as for persistent your documents, mount the same usb and write them directly on fat free space left smile

#8 2014-07-25 10:44:37

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Full Install Slitaz 5.0 RC 2 on a USB drive

@uomonero

Boot the live cd.

Establish internet connection

Plug in the flash drive with the install.

Open terminal, login as root

Get /dev/sdxx name for flash drive with install

[c]fdisk -l[/c]

[c]mount /dev/sdxx /mnt[/c]

[c]mount -t proc proc /mnt/proc/[/c]

[c]mount -t sysfs sysfs /mnt/sys/[/c]

[c]mount -t devpts devpts /mnt/dev/pts[/c]

[c]mount -t tmpfs shm  /mnt/dev/shm/[/c]

[c]cp /etc/resolv.conf /mnt/etc/resolv.conf[/c]

[c]chroot /mnt[/c]

[c]tazpkg up -c -r[/c]

[c]tazpkg up[/c]

Hit enter to upgrade the install.

This will update 67 packages that total 23MB.

[c]umount  /mnt/proc/[/c]

[c]umount  /mnt/sys/[/c]

[c]umount  /mnt/dev/pts[/c]

[c]umount  /mnt/dev/shm/[/c]

[c]umount  /mnt[/c]

If there are internal sata hard drives they will be assigned drive letters before the flash drive.

My laptop has one sata drive so my flash is assigned /dev/sdb1

The computer bios detects the flash drive as hd0,0 but after the kernel takes over it detects the internal sata drive before the flash drive root=/dev/sdb1. The rootdelay contributes to this but is necessary to avoid kernel panic.

I have to add nomodeset or my laptop screen blanks out.

/boot/grub/menu.lst

# For booting SliTaz from : /dev/sdb1

#

title SliTaz GNU/Linux 5.0 (Kernel vmlinuz-3.2.53-slitaz)

root (hd0,0)

kernel /boot/vmlinuz-3.2.53-slitaz root=/dev/sdb1 nomodeset rootdelay=8

Offline

#9 2014-07-26 07:08:53

uomonero
Member
Registered: 2014-07-25
Posts: 4

Re: Full Install Slitaz 5.0 RC 2 on a USB drive

It has worked fine, thank you very much mojo.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.023 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]