You are not logged in.

#1 2006-02-17 20:42:17

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

Upgraded kernel and cant boot now

So yesterday I upgraded udev and the kernel. Now when I boot arch cant activate swap and when it trys to run a FS check it fails. I read somthing on changing /dev/discs/disc0/part3 to /dev/hda3. How do I do this. I looked at Grub and it is set to /dev/hda3. After the FS check fails it let me into my filesystem but for Read Only. Can anyone help ?

Offline

#2 2006-02-17 20:48:14

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: Upgraded kernel and cant boot now

your conversion is correct. Check in /etc/fstab and /boot/grub/menu.lst that they are adjusted.

Offline

#3 2006-02-17 20:59:05

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

Re: Upgraded kernel and cant boot now

I used vi to open /etc/fstab and does have the wrong lines for my partitions. But like I said I have read only privs when I get into my FS ( i am root btw )

Offline

#4 2006-02-17 21:28:18

kth5
Member
Registered: 2004-04-29
Posts: 655
Website

Re: Upgraded kernel and cant boot now

sysboy wrote:

I used vi to open /etc/fstab and does have the wrong lines for my partitions. But like I said I have read only privs when I get into my FS ( i am root btw )

that may well be because you haven't a matching entry for the root= append parameter to the kernel in fstab. that's why it only mounts you root-fs in ro. see if removing "ro" from the append parameters in menu.lst helps, if so, cat /proc/partitions to find out about your partition layout. then modify menu.lst and/or fstab according to that.

good luck!


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#5 2006-02-17 21:29:03

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Upgraded kernel and cant boot now

You need to remount your / partition with rw permission:
# mount -o rw,remount /

Offline

#6 2006-02-17 21:29:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,837

Re: Upgraded kernel and cant boot now

Boot with a live CD and edit your fstab. Reboot as normal, and you should be fine.

Offline

#7 2006-02-17 21:31:32

kth5
Member
Registered: 2004-04-29
Posts: 655
Website

Re: Upgraded kernel and cant boot now

Snowman wrote:

You need to remount your / partition with rw permission:
# mount -o rw,remount /

which is exactly what rc.sysinit does if there's a matching root-fs in fstab.


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

Board footer

Powered by FluxBB