SliTaz SliTaz Forum

You are not logged in.

#1 2017-07-25 18:15:16

Red
Member
Registered: 2017-05-20
Posts: 29

installing Slitas on a SD card

Hi guys

I’ve got a question , I'm trying to install Slitaz on a SD card.

I'm using it now live from a USB stick but I would like to install it so I have persistent changes.

Problem is I have  no hard drive in my laptop.

I plugged in a SD card and  started the installer.

Everything went fine, but it will not boot, it returns the following message:

root (hd1,0)

Error 21 : Selected disk does not exist

That in itself is funny because at that moment it is starting from that particular disk (it's the only thing in there ) and it shows the Slitaz logo.

I do have a bigger problem though : I've no idea about code or command lines.

Is there an easy way to do this, or is this for the pro's.

Red

Offline

#2 2017-07-25 19:20:19

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

Re: installing Slitas on a SD card

Hi Red,

What version of SliTaz? 4.0 (stable), rolling or another one?

Boot from your LiveUSB.

Insert the SD card.

Open PCManFM and go to /boot/grub on your SD.

Right click on menu.lst; select Edit as Root.

Enter the root password and change [c]root (hd1,0)[/c] in [c]root (hd<strong>0</strong>,0)[/c]

I've no idea about code or command lines.

Is there an easy way to do this

You just need time and read some docs smile  Maybe you can start with this one http://doc.slitaz.org/en:handbook:commands

EDIT: And then https://www.tecmint.com/10-useful-free-linux-ebooks-for-newbies-and-administrators/

Offline

#3 2017-07-26 17:21:23

Red
Member
Registered: 2017-05-20
Posts: 29

Re: installing Slitas on a SD card

Hi it's me again

I did what you told me Ceel, I did change the line as you said.

Now it returns the message : Booting Slitaz GNU/Linux 5.0 kernel vmlinuz-3.2.53-slitaz

                                               Error 23 : Error while parsing number

I'm using Slitaz 5.3-rc3

Red

Offline

#4 2017-07-27 09:14:46

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

Re: installing Slitas on a SD card

Ok, GRUB finds the disk now but doesn't find the kernel on the partition.

Boot from your LiveUSB and insert the SD card.

Copy/paste the contain of /boot/grub/menu.lst

Open a terminal and become root. Type

[c]fdisk -l[/c]

and post the answer.

Offline

#5 2017-07-27 19:40:49

Red
Member
Registered: 2017-05-20
Posts: 29

Re: installing Slitas on a SD card

I'm sorry Ceel but you lost me.

I did find /boot/grub/menu.lst, but what do you mean by copy/paste, I understand the copying part, but where do I past it ?

If I paste  fdisk -l in the Sakura terminal it returns the following:

Disk /dev/sda: 8388 MB, 8388608000 bytes

255 heads, 63 sectors/track, 1019 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System

/dev/sda1   *           1         128     1027136   b Win95 FAT32

/dev/sda2             129        1019     7156957+  f Win95 Ext'd (LBA)

/dev/sda5             129         383     2048256   b Win95 FAT32

/dev/sda6             384         637     2040223+  b Win95 FAT32

/dev/sda7             638        1019     3068383+  b Win95 FAT32

Disk /dev/sdb: 1015 MB, 1015808000 bytes

255 heads, 63 sectors/track, 123 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System

/dev/sdb1   *           1         124      990976   c Win95 FAT32 (LBA)

Partition 1 has different physical/logical endings:

     phys=(0, 254, 63) logical=(123, 127, 4)

tux@slitaz:~$

The ( live) USB stick has got four partitions ( just for fun )

The SD card hasn't

The contents of /boot/grub/menu.lst  is the following :

# /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 (hd0,0)

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

Dutch is my native language, but this is all  dubble dutch to me.

Good luck

Red

Offline

#6 2017-07-29 07:37:22

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

Re: installing Slitas on a SD card

I see, I should have thought to this.

In your menu.lst, change all [c]/dev/sdb1[/c] with [c]/dev/sda1[/c]

Offline

#7 2017-07-29 11:08:11

Red
Member
Registered: 2017-05-20
Posts: 29

Re: installing Slitas on a SD card

Yes !

I made the changes, and it works!

Thanks Ceel.

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.54 MiB (Peak: 1.77 MiB) ]