SliTaz SliTaz Forum

You are not logged in.

#1 2014-02-25 18:17:43

ggg
Member
Registered: 2014-02-25
Posts: 20

AlphaOS frugal + Slitaz?

Hello.

I am trying to install SliTaz on a hard disk installed in AlphaOS, but I can not do it the way I'm doing it.

My question is this:

Should I install SliTaz on a different partition? I can not copy the files to a folder on the same partition as Alphaos frugal and have two systems on the same partition? And so to be able to start with one and other.

From already thank you very much.

Offline

#2 2014-02-25 19:40:48

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

Re: AlphaOS frugal + Slitaz?

Slitaz can be installed to same partition as another linux.

For frugal install add a boot entry to grub menu.lst with the path to slitaz kernel and rootfs.gz.

Installation docs:

http://doc.slitaz.org/en:handbook:installation

http://doc.slitaz.org/en:guides:frugal

http://doc.slitaz.org/en:guides:uncommoninst

Offline

#3 2014-02-25 20:11:37

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: AlphaOS frugal + Slitaz?

/ in ramdisk => http://doc.slitaz.org/en:guides:frugal

/ on hard disk => http://doc.slitaz.org/en:guides:uncommoninst#subdirectory-install-in-a-posix-filesystem ( or http://doc.slitaz.org/en:guides:uncommoninst#loop-install )

Offline

#4 2014-02-26 14:39:50

ggg
Member
Registered: 2014-02-25
Posts: 20

Re: AlphaOS frugal + Slitaz?

I do not understand the second part of the instructions. The preinit.iso part.

I must put a copy of slitaz-I cooking.iso to boot directory? And then edit menu.lst?

Offline

#5 2014-02-26 15:23:31

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: AlphaOS frugal + Slitaz?

A script is run to mount the hard disk into a subdir or a loop file. The kernel can't to that alone.

With slitaz 4.0, http://mirror.slitaz.org/iso/4.0/flavors/slitaz-4.0-preinit.iso has this tools (and the rootfs4.gz in slitaz-4.0.iso too).

With the cooking, the kernel has an embedded rootfs to handle a subdir or a loop file. The preinit.iso is no more necessary for a subdir or a loop file. You can use the following grub config :

title SliTaz cooking

  kernel /path/in/AlphaOS/of/bzImage mount=/dev/hda1 subroot=var/slitaz

The SliTaz root filesystem will be in AlphaOS /var/slitaz directory.

SliTaz will not see AlphaOS tree until you mount it (# mount /dev/hda1 /mnt)

Offline

#6 2014-02-26 17:50:38

ggg
Member
Registered: 2014-02-25
Posts: 20

Re: AlphaOS frugal + Slitaz?

I could not do it. I get the following error:

cp: cant create mnt/var/slitaz/dev/shm/libt etc...

No such file or directory

swuich to root: "cant execute" "/var/slitaz/dev/shm" No such file or directory.

This is my entry menu.lst:

title Slitaz (sda1/slitaz)

  uuid 14d1443c-f22df-44yf-3409-495c9156c4cb

  kernel /slitaz/bzImage mount=/dev/hda1 subroot=var/slitaz

  initrd /slitaz/rootfs.gz

Offline

#7 2014-02-26 20:19:45

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: AlphaOS frugal + Slitaz?

Assuming you are using the cooking version, can you retry with this entry in menu.lst:

title Slitaz (sda1/slitaz)

uuid 14d1443c-f22df-44yf-3409-495c9156c4cb

kernel /slitaz/bzImage mount=UUID=14d1443c-f22df-44yf-3409-495c9156c4cb subroot=var/slitaz

Of course the slitaz rootfs has been installed in /var/slitaz

# for i in $(ls -r /path/to/roofs*.gz); do unlzma < $i | ( cd /var/slitaz ; cpio -idmu ); done

Offline

#8 2014-02-26 22:49:52

ggg
Member
Registered: 2014-02-25
Posts: 20

Re: AlphaOS frugal + Slitaz?

Thanks for the help.

Still does not work.

What it means "Of course the slitaz rootfs has been installed in /var/slitaz"

=initrd /slitaz/rootfs.gz

or

=initrd /var/slitaz/rootfs.gz

in the menu.lst entry?

Offline

#9 2014-02-27 08:44:00

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: AlphaOS frugal + Slitaz?

It means 'You have extracted the rootfs*gz files in /var/slitaz' or 'ls -l /var/slitaz/bin/busybox' gives no error.

If not do 'for i in $(ls -r /path/to/roofs*.gz); do unlzma < $i | ( cd /var/slitaz ; cpio -idmu ); done'. (/path/to/roofs*.gz is likely /mnt/cdrom/boot/rootfs*.gz)

There *no* line starting with initrd in menu.lst anymore with cooking.

Offline

#10 2014-02-27 14:43:35

ggg
Member
Registered: 2014-02-25
Posts: 20

Re: AlphaOS frugal + Slitaz?

bzimage also has to be in var/slitaz or going elsewhere?

Offline

#11 2014-02-27 15:20:26

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: AlphaOS frugal + Slitaz?

No. bzImage is anywhere you want. Only Grub must load it.

Offline

#12 2014-02-27 21:00:55

ggg
Member
Registered: 2014-02-25
Posts: 20

Re: AlphaOS frugal + Slitaz?

Slitaz usb no detect partitions in the hardisk

Offline

#13 2014-02-27 22:59:36

ggg
Member
Registered: 2014-02-25
Posts: 20

Re: AlphaOS frugal + Slitaz?

So these would be the command I run:

mkdir /mnt/var/slitaz

unlzma -c /media/cdrom/boot/rootfs.gz | ( cd /mnt/var/slitaz ; cpio -idmu )

And add the entry to grub

Other than that, I should not copy or do anything with any file?

I must not copy rooftz.gz to var / slitaz?

The problem does not recognize partitions from USB still exists.

Thanks

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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