SliTaz SliTaz Forum

You are not logged in.

#1 2014-09-11 17:18:26

picnic
Member
Registered: 2014-09-11
Posts: 5

home boot parameter doesn't seem to work

I have SliTaz 4.0 booting from CD on a laptop (Thinkpad T42) with a completely empty hard disk with a single partition formatted to ext3 but I can't get it to make anything persistent - I've tried hitting [tab] at the boot menu and entering each of these in turn to the end of the boot parameter string but none of them work:

[c]home=sda1[/c]
[c]home=/dev/sda1[/c]
[c]home=hda1[/c]
Am I missing something or do I need to do something else once SliTaz is up? Should a 'save file' be written on shutdown and reboot?

TIA

Paul

Offline

#2 2014-09-11 18:04:54

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: home boot parameter doesn't seem to work

Open a terminal, type[c] blkid [/c]and post the result.

I used to use[c] home=sda1 [/c]but sda1 was a USB stick; I don't know if its possible with a hard disk.

I'm going to try.

EDIT: I did the test, not exactly in the same configuration than you but similar.

I booted from a LiveUSB, selected SliTaz core Live, hit [Tab] key, replaced[c] home=[/c]the-uuid-of-the-stick by[c] home=hda5 [/c]and it worked

Offline

#3 2014-09-11 19:30:46

picnic
Member
Registered: 2014-09-11
Posts: 5

Re: home boot parameter doesn't seem to work

Thanks for the reply big_smile

blkid returns nothing at all I'm afraid.

When I hit [tab] the boot command is:

[c]/boot/isolinux/ifmem.c32 192M core 160M gtkonly 100M justx 48M base noram[/c]
and i'm just adding ' home=sda1' to the end of that string... not sure if that's the right thing to do?!

Either way it doesn't seem to work so perhap it won't work with a hard disk.... (I double checked and the hd is mounted and the correct format).

Cheers

Paul

Offline

#4 2014-09-11 19:53:26

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: home boot parameter doesn't seem to work

blkid returns nothing at all

I've meat this sometimes; become root and try again.

If it doe not return anything, as root type [c]fdisk -l [/c] and post the answer

When I hit [tab] the boot command is:

/boot/isolinux/ifmem.c32 192M core 160M gtkonly 100M justx 48M base noram

You didn't select SliTaz Live core but SliTaz Live.

SliTaz Live core is the second line of the menu.

I've tested and yes it worked with a HD.

Offline

#5 2014-09-11 20:16:07

picnic
Member
Registered: 2014-09-11
Posts: 5

Re: home boot parameter doesn't seem to work

Here's the output:

[c]root@slitaz:/home/tux# blkid
/dev/hda1: UUID="ff1c5fdb-010a-46d2-957f-f16993bdf97f" SEC_TYPE="ext2" TYPE="ext3"[/c]
Regarding live/ live core, I think I need to read the docs again!

Offline

#6 2014-09-11 20:24:04

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: home boot parameter doesn't seem to work

OK, so adding

[c]home=hda1[/c]

at the end of the line

[c]KERNEL /boot/bzImage     append initrd=/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz rw root=/dev/null vga=normal autologin[/c]

that is displayed when you hit [Tab] should work.

Offline

#7 2014-09-11 20:37:19

picnic
Member
Registered: 2014-09-11
Posts: 5

Re: home boot parameter doesn't seem to work

Thank you, that sort of works. I created a test file on the desktop and it was there upon reboot but my network/language/keyboard settings were not remembered.

In the boot log I see a line -

[c]checking if /etc/locale.conf exists[/c]

Might this be related, should I maybe add a config file to /home instead?

Also, would I need to speficy home=hda1 at every boot or can I make that the default (or will SliTaz search for it anyway)?

Thanks again smile

Offline

#8 2014-09-11 21:15:35

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: home boot parameter doesn't seem to work

my network/language/keyboard settings were not remembered

would I need to speficy home=hda1 at every boot or can I make that the default

network? Did you use wifi?

Language, keyboard and /home are not save in the /home repertory. You cannot save them with the LiveCD; but it is possible define them in a LiveUSB.

If you create a LiveUSB, after boot, open a terminal and type

[c]su[/c](password is root and is not displayed when typing)[c]

leafpad /boot/syslinux/syslinux.cfg [/c](if the stick is formated FAT)[c]

leafpad /boot/extlinux/extlinux.conf[/c](if the stick is formated EXT)

and modify the section[c]

LABEL core

    MENU LABEL SliTaz core Live

    KERNEL /boot/bzImage

    append initrd=/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz rw root=/dev/null vga=normal autologin home=the-uuid-of-the-stick[/c]

like this[c]

LABEL core

    MENU LABEL SliTaz core Live

    KERNEL /boot/bzImage

    append initrd=/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz rw root=/dev/null vga=normal autologin home=hda1 kmap=fr-latin1 lang=fr_FR[/c]

Note that

[*]you'll have a home=the-uuid-of-the-stick instruction only if your USB stick is formated EXT

[*]you have to adapt kmap=fr-latin1 lang=fr_FR to your country

Offline

#9 2014-09-12 13:47:44

picnic
Member
Registered: 2014-09-11
Posts: 5

Re: home boot parameter doesn't seem to work

OK thanks - I'll look into booting with USB instead.

Paul

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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