You are not logged in.

#1 2006-10-04 11:06:46

go4it
Member
Registered: 2006-10-03
Posts: 44

boot fails after pacman -Syu

Hi, I did pacman -Syu and after this the system did not boot anymore.
I noticed 2.6.18 kernel files

First I got problem with master boot block
then I got: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

- As proposed in another topics I tried already:

in /etc/fstab

/dev/discs/disc1/part3 / ext3 defaults 0 1
/dev/discs/disc1/part1 /boot ext2 defaults 0 1
/dev/discs/disc1/part2 swap swap defaults 0 0

changed to

/dev/hdd3 / ext3 defaults 0 1
/dev/hdd1 /boot ext2 defaults 0 1
/dev/hdd2 swap swap defaults 0 0

in /boot/grub/menu.lst

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd1,0)
kernel /vmlinuz26 root=/dev/discs/disc1/part3 ro

changed to

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd1,0)
kernel /vmlinuz26 root=/dev/hdd3 ro
initrd /boot/kernel26.img

and now I got:

Booting 'Arch Linux [/boot/vmlinuz26]'

root  (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz26 root=/dev/hdd3 ro
  [Linux-bzImage, setup=0x1400, size=0x2917b71]
initrd /boot/kernel26.img

Error 15: File not found

=============================

- I tried first to change disks/disk1/part3 to change to hdb3 but this failed. then I noticed that a Live boot disk mounted hdd1 hdd2 and hdd3

My bios configuration:

primary    IDE controller  CD-1
                                     CD-2
secondary IDE controller  hd-0  Win
                                      hd-1 Arch

and now I get lost....thanks

fdiks -l tells:

Disk /dev/hdd: 10.2 GB, 10262568960 bytes
16 heads, 63 sectors/track, 19885 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   *           1          66       33263+  83  Linux
/dev/hdd2              67         587      262584   82  Linux swap
/dev/hdd3             588       19885     9726192   83  Linux

Offline

#2 2006-10-04 11:14:18

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: boot fails after pacman -Syu

Have you tried dev/hda[1-3]? Maybe it's only the live boot disk that mounts to hdd and Arch is looking for hda...


Haven't been here in a while. Still rocking Arch. smile

Offline

#3 2006-10-04 11:19:11

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

Sigi wrote:

Have you tried dev/hda[1-3]? Maybe it's only the live boot disk that mounts to hdd and Arch is looking for hda...

no, as I read in another topic

disks/discO/part3   > hda3
disks/disc1/part3   >  hdb3

I tried initially only hdb[1-3]

Offline

#4 2006-10-04 12:10:24

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: boot fails after pacman -Syu

kernel /vmlinuz26 root=/dev/hdd3 ro

try adding /boot ..... to kernel line....

go in grub press e


Mr Green

Offline

#5 2006-10-04 14:55:33

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

Mr Green, thanks for your advise

Before adding /boot

root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz26 root=/dev/hdd3 ro
[Linux-bzImage, setup=0x1400, size=0x2917b71]
initrd /boot/kernel26.img

Error 15: File not found

=========

After

root (hd1,0)
  Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz26 root=/dev/hdd3 ro

Error 15: File not found

==============

So I removed the line:    initrd /boot/kernel26.img

and have this set back:

kernel /vmlinuz26 root=/dev/hdd3 ro

and reboot
result:

Checking filesystem Fsck.ext3: No such file or directory while trying to open /dev/hdd3 .....

Offline

#6 2006-10-04 15:18:25

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: boot fails after pacman -Syu

errr you need initrd line or else its not going to work at all

I asked you to add boot becuase I assume you have a separate /boot partition

Don't use grub here so cannot be certain of your drive set up....

root (hd1,0)
kernel /boot/vmlinuz26 root=/dev/hdd3 ro
initrd /boot/kernel26.img

Mr Green

Offline

#7 2006-10-04 15:26:26

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

Sigi wrote:

Have you tried dev/hda[1-3]? Maybe it's only the live boot disk that mounts to hdd and Arch is looking for hda...

Hi sigi,

I tried it

kernel /vmlinuz26 root=/dev/hdd3 ro       changed to
kernel /vmlinuz26 root=/dev/hda3 ro

and then I got:

VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernal panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Offline

#8 2006-10-04 15:30:07

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: boot fails after pacman -Syu

Er, if you had ....disc1.... (=hdb) and it worked, why is everyone going on about hdd? (=disc4)

Offline

#9 2006-10-04 15:41:16

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: boot fails after pacman -Syu

I just copied what he had in his menu.lst I have no idea what drive he has arch on...


Mr Green

Offline

#10 2006-10-04 15:48:12

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: boot fails after pacman -Syu

disc1/part[1-9] should normally become hdb[1-9]

Try these:

/etc/fstab

/dev/hdb3 / ext3 defaults 0 1
/dev/hdb1 /boot ext2 defaults 0 1
/dev/hdb2 swap swap defaults 0 0

/boot/grub/menu.lst

# (0) Arch Linux
title Arch Linux [/vmlinuz26]
root (hd1,0)
kernel /vmlinuz26 root=/dev/hdb3 ro
initrd /kernel26.img

And see how that works.  (Note: your initrd image will be in the same directory as your kernel - hence no /boot in front)

Offline

#11 2006-10-04 15:54:54

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: boot fails after pacman -Syu

where did he get hdd from ?...

I see hd(1,0) is hdb ... so of course he does not need /boot

use lilo much easier lol


Mr Green

Offline

#12 2006-10-04 16:58:13

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

double post

Offline

#13 2006-10-04 17:04:43

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: boot fails after pacman -Syu

Can you tell how you installed Arch ?

What iso you are using ?

It may help us


Mr Green

Offline

#14 2006-10-04 17:04:47

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

Hi Cerebral,

starting from a live CD I found vmlinuz26 Jan 2005 2698679 bytes in
/mnt/hdd1 but not initrd
I did not find kernel26.img !  Does this mean it was not downloaded by pacman ?

changed back to hdb[1-3] in fstab and menu.lst just as you proposed.
- this is the error:

  Booting 'Arch Linux [/boot/vmlinuz26]'
root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz26 root=/dev/hdb3 ro
[Linux-bzImage, setup=0x1400, size=0x2917b71]
initrd /boot/kernel26.img

Error 15: File not found

Offline

#15 2006-10-04 17:11:04

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

Mr Green wrote:

Can you tell how you installed Arch ?


What iso you are using ?

It may help us

I installed Arch linux a year ago from an iso download.
When the system started it said version Archlinux 7.0 while booting

but as I told you already

The disk were I installed Archlinux is on the slave disk on the secondary IDE
I did not  changed the hardware after upgrading, so the previous Arch ran well on this hardware.

Offline

#16 2006-10-04 17:25:41

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: boot fails after pacman -Syu

Well I'm running 0.7.2 here ...

Not sure what to say other than you may need to chroot in & pacman -Syu again

watch any output

pacman -S kernel26 make sure mkinitcpio runs .. (look in boot for kernel26.img)

Rescue_a_system_with_a_broken_boot_loader may help you


Mr Green

Offline

#17 2006-10-04 18:11:56

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: boot fails after pacman -Syu

go4it wrote:

initrd /boot/kernel26.img

Error 15: File not found

You've still got the /boot in there, remove it!

initrd /kernel26.img

Offline

#18 2006-10-04 18:21:07

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

gradgrind wrote:
go4it wrote:

initrd /boot/kernel26.img

Error 15: File not found

You've still got the /boot in there, remove it!

initrd /kernel26.img

it 's removed, it was worse. Thanks

Offline

#19 2006-10-04 18:30:01

detto
Member
Registered: 2006-01-23
Posts: 510

Re: boot fails after pacman -Syu

go4it wrote:

it 's removed, it was worse. Thanks

solved or not solved?  :oops:

Offline

#20 2006-10-04 21:59:07

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

Not yet solved !

Based on this [url] http://wiki.archlinux.org/index.php/Mkinitcpio#GRUB link [/url]
I understand that one can have either a separate boot partition or not.
I have.

What I found:

vmlinuz26 is is in hdb1 which is my boot partition
kernel26.img  is in hdb3/boot

that is why I got a "file not found" for kernel26.img only.

Now I copied kernel26.img to hdb1 and now the boot process does not
gives "file not found" but I got stuck in another error message:

ERROR: failed to parse block device name for '/dev/hdb3' unknown
ERROR: root fs cannot be detected try using the rootfstype= kernel parameter.
::Initramfs completed - control passing to kinit
md: Autodetecting RAID arrays
md: autorun ...
md: .. autorun DONE.
Kernel panic - not syncing: Attempted to kill init !
 -

I am gooing to sleep now ( midnight here)
Many thanks to everybody to help me !

Offline

#21 2006-10-05 04:32:26

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: boot fails after pacman -Syu

Try using initrd /kernel26-fallback.img (remember to copy it to hdb1 if it is not there!). It sounds like your kernel26.img might be incorrectly built.

Offline

#22 2006-10-05 14:05:29

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

gradgrind wrote:

Try using initrd /kernel26-fallback.img (remember to copy it to hdb1 if it is not there!). It sounds like your kernel26.img might be incorrectly built.

Hi grandgrind

I have the same error message, the files are found, a lot of information dump on my screen and than the sync problem.

what does this mean ?

ERROR: failed to parse block device name for '/dev/hdb3' unknown

Offline

#23 2006-10-05 14:16:05

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: boot fails after pacman -Syu


Mr Green

Offline

#24 2006-10-05 15:23:48

go4it
Member
Registered: 2006-10-03
Posts: 44

Re: boot fails after pacman -Syu

# (0) Arch Linux
title Arch Linux [/boot/vmlinuz26]
root (hd1,0)
kernel /vmlinuz26 root=/dev/hdb3 ro
initrd /boot/kernel26.img

changed to

# (0) Arch Linux
title Arch Linux [/boot/vmlinuz26]
root (hd1,0)
kernel /vmlinuz26 root=/dev/hdd3 ro
initrd /boot/kernel26.img

and now I got:

::Initramfs completed - control passing to kinit
md: Autodetecting RAID arrays
md: autorun ...
md: .. autorun DONE.

this error is gone
Kernel panic - not syncing: Attempted to kill init !
and continues with:

EXT3-fs: mounted filesystem with ordered data mode.
....
> Archlinux v0.7.2 (Gimmick)
.....
.....
:: Starting UDev Daemon
:: Loading Modules

FATAL: Could not load /lib/modules/2.6.10-ARCH/modules.dep: No such file or directory

shouldn't it be 2.6.18 ?

So it seems that CD on the primary IDE and disks on the Secondary IDE
seems to be a problem for upgrading from v0.7.0 to v0.7.2

Shouldn't I swap the IDE flatcables ?
If I should  do this is the kernel26.img right for this new  hw  configuration ?

Offline

#25 2006-10-05 23:15:33

dakor
Member
Registered: 2004-03-19
Posts: 107

Re: boot fails after pacman -Syu

go4it wrote:

Booting 'Arch Linux [/boot/vmlinuz26]'

root  (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz26 root=/dev/hdd3 ro
  [Linux-bzImage, setup=0x1400, size=0x2917b71]
initrd /boot/kernel26.img

Error 15: File not found

=============================

I have a boot partition as well and I get the same error.


freenode.net  #linuxn00b

Offline

Board footer

Powered by FluxBB