LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2009, 12:30 AM   #1
Boomhauer
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Rep: Reputation: 1
cant get arch to boot from grub


hey im new here! ive got a problem getting arch to boot. i have basically taken the grub entry that arch generated in its /boot/grub/menu.lst when i installed it and i put in into the menu.lst that i am actually using.
here is my uuids
Code:
/dev/sda1: UUID="0d67951c-c699-4800-8747-811d235d2520" TYPE="ext4" 
/dev/sda2: UUID="7de681bb-57ea-4522-b2c4-e2e4d76a9384" TYPE="ext4" 
/dev/sda3: TYPE="swap" UUID="281c17de-2c6f-479b-9e4b-b389ca670cf4" 
/dev/sda5: UUID="78b86c6d-9300-4287-aa93-0fc683f1212c" TYPE="ext4" 
/dev/sda6: UUID="40437f6e-787d-461d-920f-0c7571036eb8" SEC_TYPE="ext2" TYPE="ext3"
sda6 is my arch partition
here is the relevant part of my menu.lst
Code:
title		arch
uuid		40437f6e-787d-461d-920f-0c7571036eb8
kernel		/boot/vmlinuz26 root=UUID=40437f6e-787d-461d-920f-0c7571036eb8 ro
initrd		/boot/kernel26.img
and here is the error i get when i try to boot arch
http://farm4.static.flickr.com/3445/...b397a51416.jpg
ive tried adding the rootdelay=10 to my boot line but with no success. does anyone know what is wrong here?

Last edited by Boomhauer; 08-30-2009 at 12:31 AM.
 
Old 08-30-2009, 01:25 AM   #2
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
That first one with all the uuids.
What kind of menu list is that?
I know it's not grub and isn't anything I've seen in lilo as of yet.
Give us a hand on helping you and shed some light on what all is installed on your box.

I've ran Arch several times and for a good while yet my memory may be misremembering, but I don't recall a line with uuid in it in the grub menu.lst either.

If you edited that line in, you may have to take it out and your setup may find the arch kernel to boot.

Last edited by windtalker10; 08-30-2009 at 01:28 AM.
 
Old 08-30-2009, 01:37 AM   #3
bloodniece
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
1. you could try a kernel parameter like rootwait
2. when you get to grub, go to the command and run find /boot/grub/stage1
it should output where stage1 is located e.g. /dev/sda1
3. try using /dev/sda1 or wherever you keep / instead of the uuid
you'll have to edit the grub entry at boot.
4. post your grub menu.lst if possible

I ran into the same issue once, but it was because I compiled my own kernel and forgot the ext4 flags.
 
Old 08-30-2009, 02:28 AM   #4
Boomhauer
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by windtalker10 View Post
That first one with all the uuids.
What kind of menu list is that?
that is just the output of blkid, im using uuids to point to location.
bloodniece, i have tried using root (hd0,5) with no luck, i get the same error. here are my menu.lst boot entries.
Code:
## ## End Default Options ##

title		Ubuntu 9.04, kernel 2.6.28-15-generic
uuid		0d67951c-c699-4800-8747-811d235d2520
kernel		/boot/vmlinuz-2.6.28-15-generic root=UUID=0d67951c-c699-4800-8747-811d235d2520 ro quiet splash 
initrd		/boot/initrd.img-2.6.28-15-generic
quiet

title		Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
uuid		0d67951c-c699-4800-8747-811d235d2520
kernel		/boot/vmlinuz-2.6.28-15-generic root=UUID=0d67951c-c699-4800-8747-811d235d2520 ro  single
initrd		/boot/initrd.img-2.6.28-15-generic

title		Ubuntu 9.04, memtest86+
uuid		0d67951c-c699-4800-8747-811d235d2520
kernel		/boot/memtest86+.bin
quiet

title		karmic
uuid		78b86c6d-9300-4287-aa93-0fc683f1212c
kernel		/boot/vmlinuz-2.6.31-6-generic root=UUID=78b86c6d-9300-4287-aa93-0fc683f1212c ro   quiet splash
initrd		/boot/initrd.img-2.6.31-6-generic


title		arch
uuid		40437f6e-787d-461d-920f-0c7571036eb8
kernel		/boot/vmlinuz26 root=UUID=40437f6e-787d-461d-920f-0c7571036eb8 ro
initrd		/boot/kernel26.img

### END DEBIAN AUTOMAGIC KERNELS LIST
the other entries boot just fine.
what happened was i installed arch on my 6th partition and all was well. in the install i went ahead and overwrote my initial grub to make sure i would have a working boot. i then reinstalled grub and pointed it back to my main stable install, and stage 1, located on /dev/sda1.
 
Old 08-30-2009, 08:27 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
How is menu.lst getting setup with the "uuid" lines instead of the "root" line?---AFAIK, This is not in the documentation for GRUB 0.97 (Any chance you are using GRUB-2?)


I just looked at your screenshot!!---you are not getting a GRUB error!! That is the kernel telling you that it can't find the root device specified in the kernel line.

I think this is the wrong format:
Quote:
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=0d67951c-c699-4800-8747-811d235d2520 ro quiet splash
, but I can't find an example of the right one. I'll post back if I can find it....
 
Old 08-30-2009, 08:36 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Here's the format I am used to seeing (using your uuid):
Quote:
kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/disk/by-uuid/0d67951c-c699-4800-8747-811d235d2520 ro quiet splash
I did, however, find examples of the format you have........
 
Old 08-30-2009, 09:18 AM   #7
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
Try this method to specify the root device:
Quote:
kernel (hd0,5)/boot/vmlinuz26 root=UUID=40437f6e-787d-461d-920f-0c7571036eb8 ro
initrd (hd0,5)/boot/kernel26.img
This somehow worked for me when multibooting distros.

Last edited by ongte; 08-30-2009 at 09:24 AM.
 
Old 08-30-2009, 04:06 PM   #8
Boomhauer
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by pixellany View Post
kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/disk/by-uuid/0d67951c-c699-4800-8747-811d235d2520 ro quiet splash
that did the trick! thanks for the help guys
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB error 15 on stage1.5. Trying to dual boot Arch and WinXP Kao Linux - Newbie 11 07-11-2009 07:16 PM
Grub problem 13 triple boot Linux machine Fedora, Ubuntu & Arch kmacphail Linux - General 2 06-21-2009 04:48 PM
GRUB question Arch Linux/XP RagingGoose Linux - Newbie 9 09-04-2007 06:09 PM
Stuck at grub config for Arch Linux DeadPenguin Linux - Newbie 1 11-14-2004 01:34 AM
Installing Arch--bootloader killed my Grub busbarn Linux - Software 4 03-13-2004 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration