You are not logged in.

#1 2008-08-15 23:24:06

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

kernel panic after adding 3rd hard drive?

so i picked up s 750gb seagate today, since im running out of storage on my home drive. thought id format it and mount it to my movie folder since thats whats sucking up my space.

after a long hard struggle of running the wires in a clean fashion, dusting out my case, making sure that the drive is plugged in to the port labeled sata 3 so as not to mess with my boot order or anything. i booted it up, only to find a kernel panic when it tries to load root filesystem, whatever that means

to sum it up, ill try to post what i can copy off my other screen

:: loading root filesystem module
Attempting to create root device '/dev/sda3'
/bin/mknod "/dev/root" b 8 3
/init: 1: cannot open /dev/root: no such device or address

waiting for devices to settle...done
:: Initramfs Completed - control passing to kinit
IP-Config: no devices to configure
Waiting 0 s before mounting root device...
kinit: Unable to mount root fs on device dev(8,3)
kinit: init not found!
Kernel panic - not synching: attempted to kill init!


could use some help? i was able to boot it with the sata cable on the new drive disconnected, just plugged it in after i was logged on and mounted it manually, but that doesnt help me in the event that i need to reboot

Last edited by ssl6 (2008-08-15 23:26:13)


this is a signature

Offline

#2 2008-08-16 00:35:28

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: kernel panic after adding 3rd hard drive?

ok, now im getting that with or without the new drive installed.

is there a way that i can fix that without reloading my system like i just did for my laptop? i don't want to screw something up and wipe everything off my drive


this is a signature

Offline

#3 2008-08-16 01:25:44

kett
Member
Registered: 2008-04-21
Posts: 104

Re: kernel panic after adding 3rd hard drive?

I'm not sure how much I can help, but more information is always useful.

That said.  Are you using grub or lilo? If so, you could post your configuration file for it.

Also, your /etc/fstab file seems like it would be relevant as well.

Offline

#4 2008-08-16 02:17:10

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: kernel panic after adding 3rd hard drive?

i dont have anyway of accessing any thing on the drive in my desktop.

basically, after connecting the new drive after startup, formatting, and mounting. i rebooted to see if i would get that error again, which i did. so i had to force it off. so i disconnected the drive and now it gives me the same thing. so i dunno, im probly just going to try and get to a friends tomorrow with a high speed connection reload the system


this is a signature

Offline

#5 2008-08-17 10:33:24

mclang
Member
From: Finland
Registered: 2005-10-24
Posts: 79

Re: kernel panic after adding 3rd hard drive?

I have exactly same problem

Except the fallback image works... I'm using grub, and the relevant lines of menu.lst looks like this:

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 vga=775 ro devfs="nomount"
initrd /kernel26.img

# (1) Fallback
title  Fallback Kernel [/boot/vmlinuz26]
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 vga=775 ro devfs="nomount"
initrd /kernel26-fallback.img

fstab looks following:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
# /etc/fstab: static file system information
none            /dev/pts      devpts  defaults      0      0
none            /dev/shm      tmpfs   defaults      0      0
tmpfs           /tmp          tmpfs   defaults      0      0
usbfs           /proc/bus/usb usbfs   defaults      0      0

/dev/sda1       /boot        ext2     defaults 0 1
/dev/sda2       swap         swap     defaults 0 0
/dev/sda3       /            ext3     defaults 0 1
/dev/sda4       /var         reiserfs defaults 0 0
/dev/sdb1       /home        xfs      defaults 0 0

# fam managed entries:
/dev/hdc                /media/dvdwriter        auto    user,exec,noauto,comment=managed 0 0
/dev/fd0                /media/floppy           auto    user,exec,noauto,comment=managed 0 0

Can mkinitcpio create somehow invalid default kernel image? The 'MODULES/BINARIES/FILES' arrays in mkinitcpio.conf are empty, and the 'HOOKS' look like:

HOOKS="base udev autodetect pata scsi sata filesystems"

Kernel version is 2.6.26.2-1 from (base). What else information would be usefull? Sorry if this issue is solved elsewhere - this thread was the first that came up with the search...


Duettaeánn aef cirrán Cáerme Gláeddyv. Yn á esseáth.

Offline

#6 2008-08-17 10:53:51

rooloo
Member
Registered: 2008-07-09
Posts: 218

Re: kernel panic after adding 3rd hard drive?

devfs="nomount"

where did you get that option from? I am not sure, but why would you NOT wanna mount the devives filesystem?

Offline

#7 2008-08-17 10:57:37

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: kernel panic after adding 3rd hard drive?

Remove that option mentioned above and look into persistent device naming, it simplifies adding hard disks.

Offline

#8 2008-08-17 15:00:11

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: kernel panic after adding 3rd hard drive?

well, what happened to mine was, instead of formatting my sdg (new drive), a different drive got formatted......sda3.....which was my / partition, so i dunno, im sure i formatted the right one, i used qtparted to do it. but something happened to my main drive anyway.

i reinstalled everything yesterday, its working now mostly. just gotta configure my fstab again for my ntfs drives and get samba up an running again


this is a signature

Offline

#9 2008-08-17 16:23:33

mclang
Member
From: Finland
Registered: 2005-10-24
Posts: 79

Re: kernel panic after adding 3rd hard drive?

rooloo wrote:

devfs="nomount"

where did you get that option from? I am not sure, but why would you NOT wanna mount the devives filesystem?

The "nomount" option is given as a tip in my menu.lst file:

# TIP: To use udev, add "devfs=nomount" to your kernel line.

That line was in the basic menu.lst file which got installed when I first installed Arch. I don't know why it was suggested back then, I just followed blindly... I remove that if it is not needed anymore and look into persistent block device naming. Older threads seems to indicate that that is the solution.

Thank You.


Duettaeánn aef cirrán Cáerme Gláeddyv. Yn á esseáth.

Offline

Board footer

Powered by FluxBB