You are not logged in.
Someone recommend me to use pata instead of ide since it better and from than I can't boot to arch even they I restore it.
I change the HOOKS in /etc/mkinitcpio.conf to:
HOOKS="base udev autodetect pata filesystems"
and change in the grub to /dev/sda6 instead of /dev/hda6
When I boot I get into maintenance mode with /dev/hda6 I get kernel panic.
I change back to ide and recreate the initrd and now I get kernel panic with both /dev/hda6 and /dev/sda6
What is the problem?
Last edited by nadavvin (2007-04-13 19:25:26)
Offline
Just changing the hook and fixing to bootmanager isn't enough...
You also have to update /etc/fstab and "s|/dev/hda|/dev/sda|"
Or use Persistant block device names
If you can, please post your current HOOKS-array... And any other changes you made to /etc/mkinitcpio.conf. Maybe something fishy is preventing you from booting...
Also, the next time you try to switch, do this:
# cp /boot/kernel26.img{,.old}
before you generate your new initamfs. That way you can easily revert the changes by editing the grub entry and changing
initrd /kernel26.img
into
initrd /kernel26.img.old
and setting "root=/dev/sda<root> back to /dev/hda<root>, in case you forgot to update your fstab.
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
If you can, please post your current HOOKS-array... And any other changes you made to /etc/mkinitcpio.conf. Maybe something fishy is preventing you from booting...
The only line which is not comment is:
HOOKS="base udev autodetect pata filesystems"
I try both /dev/hda6 and /dev/sda6 and both I get this message:
Attempting to create root device `/dev/hda6'
ERROR: failed to parse block device name for `/dev/hda6`
unknown
ERROR: root fs cannot be detected.
Try using the rootfstype = kernel parameter.
.
.
.
kinit: unable to mount root fs on device dev(0,0)
kinit: init not found:
kernel panic - not syncing : Attemted to kill init.
Offline
Ok,
Do you still have an arch-install cd handy?
Boot from that and then do
# mount /dev/hda6 /mnt
# nano -w /mnt/etc/fstab
if the mount-command spits out an error, try changing hda6 into sda6
Now,
in this file, change all your drives partitions from hda to sda, reboot and let me know what happens
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
I installed Arch from different distro so I don't have Arch install cd.
I can mount from other distro /dev/hda6, some of them it mount at boot, but there non fstab errors.
I can mount manually.
I change in the grub also to hda and sda and in both I get the problem except that I use in sda, The error message contain sda instead of hda.
Last edited by nadavvin (2007-04-13 12:39:30)
Offline
Bit confused...
In your first post you said that when you boot with "root=/dev/sda6" you get to a maintenance prompt and with "root=/dev/hda6" you get a panic.
You are probably dropped into the prompt somewhere around the filesystem checks, right?
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Bit confused...
In your first post you said that when you boot with "root=/dev/sda6" you get to a maintenance prompt and with "root=/dev/hda6" you get a panic.
No, I just not copy similar code twice.
when I write root=/dev/hda6 I get the error above which contain /dev/hda
when I write root=/dev/sda6 I get similar to the error above which contain /dev/sda and not /dev/hda
Offline
Thanks
Now it work thanks to z4ziggy help.
The solutionn wast to change to:
HOOKS="base udev autodetect ide scsi sata filesystems"
Offline