From: GangGreene on
Joseph Rosevear wrote:

> GangGreene <GangGreen(a)invalid.com> wrote:
>> I am having trouble with booting using grub
>
> Grub or legacy grub? I use legacy grub.

Yes the old one not grub2
>
>> the error returned is mount failing to mount /dev/mapper/root /mnt
>> then I get dropped to a command prompt waiting for me to fix something.
>
> What is /dev/mapper/root for?

encryption


[putolin]

I found the error

>> This is my /etc/mkinitrd.conf
>
>> SOURCE_TREE="/Slack-x86-crypt/boot/initrd-tree"

This should be -> SOURCE_TREE="/Slack-x86-crypt/initrd-tree"

>> CLEAR_TREE="0"
>> OUTPUT_IMAGE="/Slack-x86-crypt/boot/initrd.gz"

This should be ->OUTPUT_IMAGE="/Slack-x86-crypt/initrd.gz"

>> KERNEL_VERSION="$(uname -r)"
>> KEYMAP="us"
>> MODULE_LIST="jfs:ata_generic"
>> LUKSDEV="/dev/md3"
>> ROOTDEV="/dev/mapper/root"
>> ROOTFS="jfs"
>> #RESUMEDEV="/dev/hda2"
>> RAID="5"
>> #LVM="0"
>> WAIT="1"
>

Working now.

[putolin]
From: GangGreene on
Mikhail Zotov wrote:

> On Sun, 17 Jan 2010 12:32:51 -0500
> GangGreene <GangGreen(a)invalid.com> wrote:
>
>> I am having trouble with booting using grub
>>
>> the error returned is mount failing to mount /dev/mapper/root /mnt
>> then I get dropped to a command prompt waiting for me to fix something.
>>
>> I don't ever get the prompt for the luks encrypted partition.
>>
>> Why is it trying to mount the root filesystem at /mnt and not /?
> ...
>> Did I mess something up?
>
> AFAIK, mounting the root partition on /mnt is the way initrd works. You
> can check the initrd tree.
>
> As for the boot problem, I had a similar situation with a custom
> 2.6.32.3 kernel. Before th prompt, there was a message about the
> problem (missing device, IIRC). Initrd was built with correct options
> but the custom kernel was missing a few options.
>
> Not sure if this can help but anyway...
>


I had a problem with /etc/mkinitrd.conf file
Working now.
From: Mikhail Zotov on
On Tue, 19 Jan 2010 05:40:48 -0500
GangGreene <GangGreene(a)example.com> wrote:
....
> I had a problem with /etc/mkinitrd.conf file
> Working now.

Glad you fixed it :-)

--
Mikhail

First  |  Prev  | 
Pages: 1 2
Prev: Variable I/O Performance with dd vs. cat
Next: Fail