You are not logged in.

#1 2012-08-06 01:21:43

lkraemer
Member
Registered: 2012-02-18
Posts: 37

[SOLVED] - ArchLinux-2012.08.04-dual.iso - Grub2 Install ???

I've got ArchLinux-2012.08.04 installed but I'm having trouble getting Grub2 to boot my USB Flash Drive.

It boots to the menu, but then dumps me out to a command shell.

I've installed Arch on "/" which is /dev/sdb1 (10Gig), with my "/home" on /dev/sdb2 (~20Gig) both ext2 Partitions.

I've tried root as (hd0, msdos1) and (hd1, msdos1) and I always get dumped out to the command shell,
when I boot from my 32Gig Centon USB Flash Drive.  I also get a message about not being able to locate my
UUID=4f755208a-a3b3-xxxx-f36709c6ee.  If I use the command

blkid
mount
fdisk -l

I can't locate my 32Gig Centon USB Flash Drive. 


I've previously installed Archlinux on another Centon USB Flash Drive, and it always worked with just Grub vs Grub2.
I've read the Install tutorial on the forum, and created a grub.cfg file as a test, and that doesn't work either.

Where is a good tutorial, or guide on getting Archlinux to boot with Grub2?  I've spent all afternoon searching
and trying to get Arch to boot.

Thanks.

Larry.

Last edited by lkraemer (2012-08-06 14:58:46)

Offline

#2 2012-08-06 05:47:00

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] - ArchLinux-2012.08.04-dual.iso - Grub2 Install ???

lkraemer wrote:

I've got ArchLinux-2012.08.04 installed but I'm having trouble getting Grub2 to boot my USB Flash Drive.

It boots to the menu, but then dumps me out to a command shell.

Where is a good tutorial, or guide on getting Archlinux to boot with Grub2?  I've spent all afternoon searching
and trying to get Arch to boot.

Thanks.

Larry.

Check the almighty wiki, install guide and beginners guide.


Registered Linux user #436067

Offline

#3 2012-08-06 06:01:53

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] - ArchLinux-2012.08.04-dual.iso - Grub2 Install ???

First add the "usb" hook in /etc/mkinitcpio.conf and then re-generate your initramfs.


https://wiki.archlinux.org/index.php/Mkinitcpio#HOOKS

usb - Adds USB modules to the image. Use this if your root device is on a USB mass storage device or if your USB mass storage device needs to be accessed otherwise (checked, mounted, etc.) at boot time.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-08-06 12:10:36

lkraemer
Member
Registered: 2012-02-18
Posts: 37

Re: [SOLVED] - ArchLinux-2012.08.04-dual.iso - Grub2 Install ???

DSpider,
Thanks for the tip.  I've re-read as per oboedad55's suggestion: "Check the almighty wiki, install guide and beginners guide",
and I am adding USB to my mkinitcpio.conf.  The mkinitcpio.conf file already contains the "usbinput" hook as shown here:

HOOKS="base udev autodetect pata scsi sata filesystems usbinput fsck"

and I'm modifying it to add usb:

HOOKS="base udev usb autodetect pata scsi sata filesystems usbinput fsck"

as per the information on the Wiki for installing on a USB Key.
REF:
https://wiki.archlinux.org/index.php/In … _a_USB_key

When editing the /etc/mkinitcpio.conf, add the usb hook to the hooks array right after udev. This is necessary for appropriate module loading in early userspace.

THANKS, for the tip/help.  Somehow I missed that key point.

Larry

Last edited by lkraemer (2012-08-06 12:11:36)

Offline

#5 2012-08-06 12:19:59

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] - ArchLinux-2012.08.04-dual.iso - Grub2 Install ???

If that did it, don't forget to mark the topic as solved. wink


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-08-06 12:24:37

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: [SOLVED] - ArchLinux-2012.08.04-dual.iso - Grub2 Install ???

lkraemer wrote:

When editing the /etc/mkinitcpio.conf, add the usb hook to the hooks array right after udev. This is necessary for appropriate module loading in early userspace.

That is history. Nowadays, it doesn't matter where the USB hook is placed.

Offline

Board footer

Powered by FluxBB