You are not logged in.
Pages: 1
Okay. So i was installing Arch linux for a friend. And not being very "expert" at it myself i now end up with an error 22 boot issue. I noticed i had forgotten to change default set for grub configs, so i went back and set that hd0,2 for the windows partition on sda2 and hd0,3 for sda3 which is carrying the arch linux (apparently). Well..same error... Anywho..im still fairly new myself glad i got my own working fine xD. SO were kinda learning it along, don't know where i went wrong here, any help or suggestions appreciated.
EDIT: THanks to lucke i figured out my ignorant problems. Thanks again ev1 .
Last edited by JK3mp (2009-04-27 21:24:34)
Offline
This may help:
http://wiki.archlinux.org/index.php/Win … _Dual_Boot
What, as a matter of interest, do you have on hd0,0 and hd0,1 ? As far as I
recall, 'doze has to occupy hd0,0, as evinced in the menu.lst ( rootnoverify (hd0,0) ).
Deej
Offline
Ahhh..i must've got mixed up. My only labels, are
sda
-----sda1 <--some windows default something idk wtf it is, lol. only like 4mb or somethin
-------sda2 <----NTFS volume (windows)
-------sda3 <-----Linux Volume
, and i thought it was based off there label, like hda1, is hd0,1 , and hda2, hd0,2 etc. So would the NTFS volume windows need to be set as (hd0,1) in the grub config?
Last edited by JK3mp (2009-04-27 15:54:54)
Offline
*bump* still havn't figured it out...
Here's how my partition table looks
----------Name-------Flags-------Type----------FSType------------------Label---------------------size
-------------------------------------Pri/Log ------Freespace ----------------------------------------1.05
----------sda1 ---------------------Primary------Unknown-----------------(27)--------------------8856.2
----------sda2 -----Boot-----------Primary---------NTFS ------------------[^R]-------------------156266
----------sda3--------------------- Primary---------Linux-------------------------------------------84933
Any help or can someone fill in a bit on how i would setup the grub.conf. I tried several times, but thus far all i get is error 22 still. Since i dont want the "unknown" in the boot menu, i skip it in grub is that the issue ? i put sda2 as (0,2) and sda3 as (hd0,3) . I thought this was correct and i've switched it up just to see, but no avail. Help please...
Offline
Alright so i tried letting the "unknown" into the boot config.
GOOD NEWS! NO MORE ERROR 22!
BAD NEWS.... I get Error 17 , LoL .
Offline
Ok I see what the problem is. And here a little brief explanation. Your hda or sda (which is btw the first physical drive) is set as hd0 meaning the first one, if you have more than one pyshical drives hdb, hdc, etc they will be labeled as hdb = hd1; hdc = hd2. This means that the devices are mapped Zero-based, the same applies for any partition in the drive.
So your problem is that your hda1 drive is actually (hd0,0), hda2 is (hd0,1) and hda3 is (hd0,2).
You have to fix your grub section for both your windows partition and archlinux to be able to boot any of them. During grub you achieve it by editing one of the entries and press the "e" key and change of the lines, boot to your arch system and then edit the /boot/grub/menu.lst file.
Hope this helps you.
ISC - Ignacio Marmolejo
ArchLinux & GNOME User.
Offline
Well i don't have any additional drives. And by default it shows Arch AND windows (commented out) in grub conf. But do i need to add the unknown like i previously tried ?
Like such.
Offline
Okay..so i did another last attempt,
same partition table as above, with grub .conf like
title Arch Linux
rootnoverify (hd0,3)
makeactive
etc. (not sure exactly..i can copy it here exactly if it'll help)
title Windows
rootnoverify (hd0,2)
makeactive
chainloader +1 etc.
Really tryin to get this up. Thanks for your attempts so far ev1
Offline
*bump* Anyone idea's?....
Offline
Alright well he's back to using ubuntu right now. But any help to get him up on Arch is appreciated. And thanks again people who have attempted thus far.
Offline
Hi,
Like Alienman pointed out above, your Grub is pointing to the wrong partitions. Partition numbering in Grub starts with 0, so to point to sda2 you should have (hd0,1) etc.
Your partitions:
sda2 -> (hd0,1)
sda3 -> (hd0,2)
There's no need to add the other partition unless you plan to boot from it.
Regards,
Fishondish
Offline
OHHHH...i just wasn't "getting" it lol, kay i'll try that out.
Offline
Okay...well still no luck.
Here's my grub.conf
#(0) Arch Linux
title Arch Linux [boot/vmlinuz26]
root (hd0,2)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img
#(1)Windows
title Windows
rootnoverify (hd0,1)
makeactive
chainloader +1
Still getting error
Loading Stage 1.5
Grub loading....
Grub Error 22
Last edited by JK3mp (2009-04-27 19:08:51)
Offline
Oh i guess i'll also note. That when it asks where to install Grub, i chose. sda, then it asked for full path of root device and i chose what it had by default sda3
Offline
*bump* ......
Offline
Bumping is frowned upon.
root can't be /dev/sda. It has to be /dev/sdaX (X being 3 in your case).
Offline
Bumping is frowned upon.
root can't be /dev/sda. It has to be /dev/sdaX (X being 3 in your case).
Sorry about the bumping, lack of patience is...a bad trait of mine. lol. So when it asks where to install i should choose a partition not sda? or do u just mean that sda3 was correct when asked for root device?
Offline
The kernel line in your menu.lst should read "root=/dev/sda3", not "root=/dev/sda".
Offline
Sorry lucke , it does i just neglected the 3 on accident when typing it in, edited now. Also someone in another forum insisted i show output of
fdisk -ul. So here it is in case it'll help someone here figure out this mess i've made,
Disk /dev/sda : 250.0gb
255 HEADS 635 SECTORS/TRACKS, 30401 CYLINDERS
TOTAL 488397168 SECTORS
UNITS=SECTORS OF 1*512=512 BYTES
DISK IDENTIFIER, 0X0F7F14E6
DEVICE____BOOT_____START___________END__________BLOCKS___ID__SYSTEM
-----------------------------------------------------------------------------
/dev/sda1/ 2048 17299455 8648704 27 Unknown
/dev/sda2/ * 17299456 322507111 142603528 7 HP/NTFS
/dev/sda3/ 322507112 48839204 82942476+ 83 Linux
Last edited by JK3mp (2009-04-27 19:08:22)
Offline
All your descriptions are kind of ... chaotic, so I can't be sure what you're doing. How are you getting that fdisk output? Using Arch's install CD?
Googling seems to indicate that reinstalling GRUB to MBR might be the solution to error 22. Running "grub" from any live media and then "root (hd0,2)" and "setup (hd0)" should do the reinstall.
Offline
All your descriptions are kind of ... chaotic, so I can't be sure what you're doing. How are you getting that fdisk output? Using Arch's install CD?
Googling seems to indicate that reinstalling GRUB to MBR might be the solution to error 22. Running "grub" from any live media and then "root (hd0,2)" and "setup (hd0)" should do the reinstall.
Sorry, yes, from the arch disk. i've reinstalled arch in general several times.
Offline
With root (hd0,2)
i get, "Filesystem type unknown, partition type 0x27"
with setup (hd0)
Error 17: Cannot mount selected partition.
Offline
Something is very nonstandard in all this.
Where are you posting from? Another PC? Perhaps we could talk in real time on freenode.
Offline
Something is very nonstandard in all this.
Where are you posting from? Another PC? Perhaps we could talk in real time on freenode.
Yes...i'll get on irc. Are you in the main #archlinux irc ?
Offline
Pages: 1