Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3453 - pre 7.1 raid/ide

Attached to Project: Arch Linux
Opened by paul (paul1) - Thursday, 10 November 2005, 04:48 GMT
Last edited by arjan timmerman (blaasvis) - Thursday, 10 November 2005, 10:49 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

New install of pre 7.1 hangs as initrd attempts to load raid modules (aacraid I believe) on an ide computer. I attempted to mount the root partition ( and customize initrd ) but;

#mount -t jfs /dev/hda3 /mnt
no such device
This task depends upon

Closed by  arjan timmerman (blaasvis)
Thursday, 25 May 2006, 13:55 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Thursday, 10 November 2005, 05:06 GMT
Hi Paul,

If you don't have any other kernels on that machine, you'll have to use an install CD to fix things.

Here are some steps, assuming you have a 0.7 install CD.

Mount your root:
# mount /dev/discs/disc0/part3 /mnt

And boot if you have it:
# mount /dev/discs/disc0/part1 /mnt/boot

Mount all the other stuff. 0.7 has devfs, so we'll use that.
# mount -t proc none /mnt/proc
# mount -t sysfs none /mnt/sys
# mount -t devfs none /mnt/dev

Chroot into the system and start devfsd
# chroot /mnt /bin/bash
# devfsd /dev

Now you can edit mkinitrd.conf, disable RAID and rebuild
# vi /etc/mkinitrd.conf
# mkinitrd auto

Once done, you can exit your chroot and reboot. Cross your fingers.


btw, the default mkinitrd.conf comes with RAID modules disabled by default now. Hopefully that helps future users who have this kind of issue.
Comment by paul (paul1) - Thursday, 10 November 2005, 05:27 GMT
Hi Judd,

Just to clarify, this is a new install of 7.1 (which as I understand it uses udev). I attempted to mount my partitions (as mentioned above)to rebuild initrd, but failed -->"no such device".

Is there a way to manually build an initrd during the install?
Comment by Judd Vinet (judd) - Thursday, 10 November 2005, 17:47 GMT
Ah, my mistake. If you're using the 0.7.1 install CD, then you shouldn't use any DevFS references. So instead of the old /dev/discs format, do something like this.

Mount your root:
# mount /dev/hda3 /mnt

And boot if you have it:
# mount /dev/hda1 /mnt/boot

Mount all the other stuff. 0.7 has devfs, so we'll use that.
# mount -t proc none /mnt/proc
# mount -t sysfs none /mnt/sys
# mount -o bind /dev /mnt/dev

Chroot into the system
# chroot /mnt /bin/bash

Now you can edit mkinitrd.conf, disable RAID and rebuild
# vi /etc/mkinitrd.conf
# mkinitrd auto
Comment by arjan timmerman (blaasvis) - Sunday, 26 March 2006, 11:39 GMT
is this still an issue with 0.7.1 final ?

Loading...