[arch-general] Installing to RAID .. cannot reboot

D. R. Evans doc.evans at gmail.com
Thu Jun 21 16:19:54 EDT 2012


Chris Sakalis said the following at 06/21/2012 01:57 PM :
> On Thu, Jun 21, 2012 at 10:39 PM, D. R. Evans <doc.evans at gmail.com> wrote:
>>>
>>> Sorry for the stupid question, but do you rebuild the init ram image
>>> after changing your mkinitcpio.conf ?
>>
>> I don't understand the question, so it's not at all stupid. I'm just following
>> the instructions on the wiki. The wiki says to edit mkinitcpio.conf
>> immediately prior to the reboot, so that's what I'm doing. It doesn't mention
>> any need to rebuild an image (nor how to do it).
>>
>>  Doc
>>
>> --
>> Web:  http://www.sff.net/people/N7DR
>>
> 
> On the wiki, it does not mention anything about rebuilding your
> initramfs, because mkinitcpio is called automatically by the installer
> after the configuration phase. However:
> 
> mkinitcpio.conf is read by the mkinitcpio utility in order to create
> the initial ramdisk image. Essentially, it's a bunch of stuff needed
> by the kernel before the root filesystem is made available. After you
> edit the mkinitcpio.conf file, you HAVE to rebuild[1] your initramfs
> image, in order for the changes to actually take effect. If you just
> edit the file and then reboot, nothing is done.
> 

My turn to ask a stupid question, because I'm sure your explanation makes
perfect sense to someone who understands this stuff, but I don't: my previous
experience with installing Linux on RAID was with Ubuntu, for which I didn't
need to mess with any of this.

Are you saying that between these instructions:

---

    Add the dm_mod module to the MODULES list in /etc/mkinitcpio.conf.
    Add the mdadm_udev and lvm2 hooks to the HOOKS list in
/etc/mkinitcpio.conf after udev.

---

and the next step:

---

Once it is complete you can safely reboot your machine:

# reboot

---

there should be some additional step(s)?

> 
> [1] - https://wiki.archlinux.org/index.php/Mkinitcpio#Image_creation_and_activation

That seems to say that I should run mkinitcpio, but that step isn't mentioned,
even adumbratively, anywhere on
https://wiki.archlinux.org/index.php/Software_RAID_and_LVM#RAID_installation

Hopelessly, completely, lost and beginning to despair....

  Doc

-- 
Web:  http://www.sff.net/people/N7DR

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120621/ec94b9f4/attachment.asc>


More information about the arch-general mailing list