SliTaz SliTaz Forum

You are not logged in.

#1 2013-02-25 16:42:15

vin
Member
Registered: 2013-02-24
Posts: 11

i can't install the slitaz 4.0 to my usb stick

hello,

i am just a newbie.  i learn the slitaz from a  blog. i am very like it, so i just want to get  one and put it on my usb . but  after installing the slitaz by the install tool in live cd, i can not boot into the slitaz.

firstly, i get the error: "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)".so, i found  the solutions and try to add the "rootdelay=8" in the "kernel" line. luckly, the error message  has disappeared.  instead, the other error message showed up: "kernel panic - not syncing: no init found. try passing init= option to kernel." i don't know how to do this time because i can't find the solution throught the google.

help me, please!

(i am just a chinese student, and i am not good at english. so if there are any syntax error which make you misunderstanding me, i feel sorry)

at last, no matter can you help me to slove the problem, i will also thank you very much.

Offline

#2 2013-02-25 18:11:58

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

Re: i can't install the slitaz 4.0 to my usb stick

Hello vin,

How is your usb stick formated (FAT16 or 32, EXT 2 or 3) ?

And when you say "installing the slitaz by the install tool in live cd", what do you mean exactly ?

Did you try to do a full install on your stick or LiveUSB ? What menu of TazPanel did you use ?

Offline

#3 2013-02-26 05:20:10

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

i formatted my usb stick to ext4(i had formated it to ext3 first, but the same situation happened) .

when i boot into live cd, there is a "documention" software in the desktop.  at the end of the document, there is a link "slitaz install" which links to the install tool. i can't find the slitaz installer in tazpanel.

i think i had a full installation to my stick not the live cd. this is because i can see the root directory "/" in my stick.

Offline

#4 2013-02-26 05:21:31

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

i formatted my usb stick to ext4(i had formated it to ext3 first, but the same situation happened) .

when i boot into live cd, there is a "documention" software in the desktop.  at the end of the document, there is a link "slitaz install" which links to the install tool. i

think i had a "full installation" to my stick not the live cd. this is because i can see the root directory "/" in my stick.

Offline

#5 2013-02-26 10:50:36

Guest
Guest

Re: i can't install the slitaz 4.0 to my usb stick

Are you trying to boot an installation on your pendrive?

Do you have a hard drive in the computer?

If 'yes', then it is most likely the kernel line in your grub config is not correct.

Try using (1,0) & rootdelay=10

Does that help?

(It may be that you have not set the boot sequence to boot from external first in your BIOS.)

#6 2013-02-26 15:32:21

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

if i use the  (hd1,0), it will show the error "file not found".

Offline

#7 2013-02-26 15:45:53

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

Re: i can't install the slitaz 4.0 to my usb stick

Post your grub menu.lst

Offline

#8 2013-02-26 16:36:42

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

title ....

root (hd0,0)

kernel /root/vmlinuz-2.6.37-slitaz root=/dev/sdb1 rootdelay=8 quiet

that is it

Offline

#9 2013-02-26 17:03:57

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

Re: i can't install the slitaz 4.0 to my usb stick

Change what's in bold from :

root (hd0,0)

kernel /root/vmlinuz-2.6.37-slitaz root=/dev/sdb1 rootdelay=8 quiet

to

root (hd0,0)

kernel /root/vmlinuz-2.6.37-slitaz root=/dev/sda1 rootdelay=8 quiet

Offline

#10 2013-02-26 17:12:43

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

i had tried, but it didn't work.

the error is:" Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,1)".

what should i do?

Offline

#11 2013-02-26 17:24:09

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

Re: i can't install the slitaz 4.0 to my usb stick

Change what's in bold from :

root (hd0,0)

kernel  /root/vmlinuz-2.6.37-slitaz root=/dev/sda1 rootdelay=8 quiet

to

root (hd0,0)

kernel  /boot/vmlinuz-2.6.37-slitaz root=/dev/sda1 rootdelay=8 quiet

Offline

#12 2013-02-26 17:45:14

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

there is nothing changing.

in fact, this is my spell ing error, sorry!

==

my meum.lst:

root (hd0,0)

kernel /boot/vmlinuz-2.6.37-slitaz root=/dev/sdb1 rootdelay=8 quiet

Offline

#13 2013-02-26 18:31:20

aniguenni
Member
Registered: 2011-12-18
Posts: 153

Re: i can't install the slitaz 4.0 to my usb stick

when you start grub, what kind of drives does grub find?

just open a command line in grub wich shows "grub>" and type:

find

Offline

#14 2013-02-26 19:34:09

Guest
Guest

Re: i can't install the slitaz 4.0 to my usb stick

@vin

You still have sdb1 & not sda1.

my meum.lst:

root (hd0,0)

kernel /boot/vmlinuz-2.6.37-slitaz root=/dev/sdb1 rootdelay=8 quiet

It's looking on the wrong drive.

root (hd0,0)   => First partition, first HDD

kernel /root/vmlinuz-2.6.37-slitaz root=/dev/sdb1 rootdelay=8 quiet   => First partition, second HDD

#15 2013-02-26 20:41:17

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

Re: i can't install the slitaz 4.0 to my usb stick

@ vin,

hmm, may be a stupid question but what the size of your stick ?

And follow aniguenni's advice or run SliTaz from the liveCD, insert your USB stick and open a terminal as root, type fdisk -l and post the result.

We must identify all your devices.

Offline

#16 2013-02-27 04:57:23

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

@ fatmac,

although "sdb1" was took placed of  "sda1", i can not boot into slitaz.

it displayed an error: "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,1)".

i had tried several others(like sda1, sdb2, sda2, sdc1, etc.)  it also displays this error.

Offline

#17 2013-02-27 05:27:22

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

@ ceel

@ aniguenni

my stick just only 1G. slitaz is very small, i think my stick is enough to be installed slitaz. i had tried to install slitaz to my 8G stick, but the situation also exsitted.

=====

the result of fdisk -l:

-------------------------------------------

root@slitaz:/home/tux# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes

255 heads, 63 sectors/track, 60801 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System

/dev/sda1   *        1303        4567    26226081   7 HPFS/NTFS

/dev/sda2            4568       60801   451699264   f Win95 Ext'd (LBA)

/dev/sda5            7180       18079    87553652+  7 HPFS/NTFS

/dev/sda6           18080       21299    25861120  af Unknown

/dev/sda7           21300       41295   160617812   b Win95 FAT32

/dev/sda8           41296       60801   156681913+  7 HPFS/NTFS

Disk /dev/sdb: 7803 MB, 7803174912 bytes

174 heads, 57 sectors/track, 1536 cylinders

Units = cylinders of 9918 * 512 = 5078016 bytes

   Device Boot      Start         End      Blocks  Id System

/dev/sdb1   *          76        1537     7243584   b Win95 FAT32

Disk /dev/sdc: 1001 MB, 1001848320 bytes

31 heads, 62 sectors/track, 1018 cylinders

Units = cylinders of 1922 * 512 = 984064 bytes

   Device Boot      Start         End      Blocks  Id System

/dev/sdc1               2         428      409600  83 Linux

Partition 1 has different physical/logical beginnings (non-Linux?):

     phys=(0, 32, 33) logical=(1, 2, 3)

Partition 1 has different physical/logical endings:

     phys=(51, 30, 43) logical=(427, 8, 58)

Partition 1 does not end on cylinder boundary

/dev/sdc2             428        1018      567296  83 Linux

Partition 2 has different physical/logical beginnings (non-Linux?):

     phys=(51, 30, 44) logical=(427, 8, 59)

Partition 2 has different physical/logical endings:

     phys=(121, 190, 5) logical=(1017, 18, 50)

Partition 2 does not end on cylinder boundary

--------------------

and in grub:

grub>find

(hd0,0)

hd(0,1)

hd(1,0)

hd(2,0)

hd(2,4)

hd(2,5)

hd(2,6)

hd(2,7)

Offline

#18 2013-02-27 08:00:39

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

Re: i can't install the slitaz 4.0 to my usb stick

@ vin,

my stick just only 1G. slitaz is very small, i think my stick is enough to be installed slitaz.

Right. You only need 250 MB for a full install.

Result of fdisk -l

You've got

[*]a HD 500 GB; it'll always be sda

[*]your 8 GB stick (I suppose) as sdb

[*]your 1 GB stick as sdc

fdisk and Grub see 2 partitions on the 1 GB stick. Did you do one for your /home? Did you remember on which one did you install SliTaz?

In your menu.lst, try

root (hd0,0)

kernel /boot/vmlinuz-2.6.37-slitaz root=/dev/sdb2 rootdelay=8 quiet

Boot with only the 1 GB stick connected.

May be it should be better to format your key again and re-install SliTaz:

[*]Boot from LiveCD (with no stick inserted). Can you confirm you use SliTaz4.0 ?

[*]open TazPanel (one of the icon in the upper left corner) and click on the Installation tab; choose Installation

[*]Use GParted to suppress the 2 existing partitions; do only one and format it ext3

[*]check the LiveCD is in the CD reader and then install SliTaz; hoock Install Grub but don't hoock Dual boot

[*]after installion is completed, don't forget to check/modify the /boot/grub/menu.lst nn the stick as this:

root (hd0,0)

kernel /boot/vmlinuz-2.6.37-slitaz root=/dev/sdb1 rootdelay=8 quiet

I hope I didn't do any mistake; I'm at my office without SliTaz running...

Offline

#19 2013-02-28 17:44:33

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

@ ceel,

thanks,thank you very much.

i had spend several days trying to fix this problem.

at the beginning, i just want have  anothef partition to save my profile. but unexpected, it played a joke with me.

but there is a thing still don't kown. i used to booting the winpe usb tool without setting up which drive to boot.

can we do that?

Offline

#20 2013-03-01 21:18:54

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

Re: i can't install the slitaz 4.0 to my usb stick

Hello vin,

I'm really sorry but I never used WinPE. I can't answer to your question.

Offline

#21 2013-03-02 04:44:59

vin
Member
Registered: 2013-02-24
Posts: 11

Re: i can't install the slitaz 4.0 to my usb stick

@ceel

it doesn't matter. but also thanks a lot.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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