LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rootnoverify (hd0,1) error after installing FC5 (http://www.linuxquestions.org/questions/linux-newbie-8/rootnoverify-hd0-1-error-after-installing-fc5-527406/)

crmpicco 02-10-2007 03:56 PM

rootnoverify (hd0,1) error after installing FC5
 
Hi Guys,

I have done this before on one HDD but it was on a Desktop, now i am trying to do it on my Latop - with no success.

Basically I have a copy of Fedora Core 5 on DVD (bordeaux, code-named) and a Windows XP Home restore bootable CD that came with my Samsung laptop.

I installed WinXP Home first and created two partitions for FC5 at the start of the drive (20GB for '/' and 785MB for 'swap'). The rest, 60GB, went to Windows. I created the partitions with the Windows partition manager when i was installing it then when installing FC5 i formatted the partitions as / and SWAP and the boot loader recognised windows when FC5 installation completed.....

I thought, great....but no.....FC5 would boot into the desktop. But, when i selected WinXP Home it gave me a message:

rootnoverify (hd0,1)
chainloader +1

and...obviously it doesn't boot Windows!

Does anyone have a guide to do this? Or am i missing something, as I say i'm just doing it on one HD. One 80GB Hd inside my Samsung V25 Laptop.

Help is much appreciated.

Picco

syg00 02-10-2007 04:23 PM

Try "rootnoverify (hd0,2)"

crmpicco 02-10-2007 04:58 PM

hi, how do i do this in GRUB? i know there is an option to edit the command, but does it save it or anything???

syg00 02-10-2007 05:06 PM

Try it from the boot menu edittor - only affects that boot.
If it works, make the same change to /boot/grub/menu.lst

crmpicco 02-10-2007 05:09 PM

ok, i think we're on the same page now :-)

so when GRUB displays i hit 'e' or something like that do i not? and then change rootnoverify (hd0,1) to rootnoverify (hd0,2)?

what about the chainloader + 1 message? Is that necessary?

syg00 02-10-2007 06:48 PM

Yes it's necessary. Edit the rootnoverify line, hit <Enter> to do the update, then <b> to boot that entry. There are helpful messages all the way.

uncle-c 02-12-2007 06:30 AM

On what partition is your Windows installed ?
When booted into FC , open up a terminal and run "fdisk -l " as root.
i.e. "sudo fdisk -l" This will give you a list of all your partitions.

If your Windows partition is on say /dev/hda5 then your grub entry will be
(hd0,4), if it is on /dev/hda6 it will be (hd0,5). Grub starts reading hard drives and partitions from zero instead of 1.

crmpicco 02-12-2007 12:27 PM

thanks for those replies, i've still not had any luck.......

when changed the (hd0,1) to (hd0,2) it didn't work. I tired it all the way to hd0,8....no

luck i'm afraid.

this is my setup however on my HDD, maybe someone can tell what i've done wrong from this:
In System>Adminstration>Logical Volume Management

Code:

/dev/hda
_______________________
Partition 1 (/dev/hda1)
Size: 19.53GB
Partition Type: Linux (0x83)
Mount Point: / Root Filesystem
Mount Point when Rebooted: / Root
File System: EXT3

- - - - - - - - - - -
Partition 2 (/dev/hda2)
Size: 54.99GB
Partition Type: W95 Et'd (LBA) (0xf)
Mount Point: Unmounted
Mount Point when Rebooted: None
File System: No Filesystem
Not Initializable: Extended Partition
- - - - - - - - - - -
Partition 5 (/dev/hda5)
Size: 0.77GB
Partition Type: Linux Swap (0x82)
Mount Point: Unmounted
Mount Point when Rebooted: None
File System: No Filesystem
Not Initializable: Swap Partition Currently In Use
- - - - - - - - - - -
Partition 6 (/dev/hda6)
Size: 54.22GB
Partition Type: HPFS/NTFS (0x7)
Mount Point: Unmounted
Mount Point when Rebooted: None
File System: No Filesystem
- - - - - - - - - - -
Unpartitioned Space
Size: 0.01GB
Partition Type: None
Mount Point: Unmounted
Mount Point when Rebooted: None


crmpicco 02-12-2007 12:28 PM

thanks for those replies, i've still not had any luck.......

when changed the (hd0,1) to (hd0,2) it didn't work. I tired it all the way to hd0,8....no

luck i'm afraid.

this is my setup however on my HDD, maybe someone can tell what i've done wrong from this:
In System>Adminstration>Logical Volume Management

Code:

/dev/hda
_______________________
Partition 1 (/dev/hda1)
Size: 19.53GB
Partition Type: Linux (0x83)
Mount Point: / Root Filesystem
Mount Point when Rebooted: / Root
File System: EXT3

- - - - - - - - - - -
Partition 2 (/dev/hda2)
Size: 54.99GB
Partition Type: W95 Et'd (LBA) (0xf)
Mount Point: Unmounted
Mount Point when Rebooted: None
File System: No Filesystem
Not Initializable: Extended Partition
- - - - - - - - - - -
Partition 5 (/dev/hda5)
Size: 0.77GB
Partition Type: Linux Swap (0x82)
Mount Point: Unmounted
Mount Point when Rebooted: None
File System: No Filesystem
Not Initializable: Swap Partition Currently In Use
- - - - - - - - - - -
Partition 6 (/dev/hda6)
Size: 54.22GB
Partition Type: HPFS/NTFS (0x7)
Mount Point: Unmounted
Mount Point when Rebooted: None
File System: No Filesystem
- - - - - - - - - - -
Unpartitioned Space
Size: 0.01GB
Partition Type: None
Mount Point: Unmounted
Mount Point when Rebooted: None


syg00 02-12-2007 03:24 PM

You didn't mention you had installed XP to a logical partition.
It still requires a primary partition to install its boot-critical files into. So it probably used the first one, which you subsequently overwrote.
I doubt this can be easily rectified.

You obviously confused Anaconda too as it's trying to boot the extended partition - yet another weakness in its logic.

v00d00101 02-12-2007 09:53 PM

Try hd0,0

Might work, might not.

Also check out /boot/grub/device.map, try using cat on it (cat /boot/grub/device.map), it should tell you where windows is.

crmpicco 02-13-2007 03:21 PM

Hi, i've tried hda0,0 .... or do you mean hd0,0 (NO A)???
I'll try that and see if that makes any difference.

Was my dump on my post above not enough info as to what was what on my hD? I had to write it down and type it in as I couldn't find grub.conf. I tried a locate grub.conf, but it gave me an error (couldn't find locate or something)

crmpicco 02-13-2007 03:22 PM

How do you mean a logical partition? Is there an option to do it another way?

syg00 02-13-2007 03:37 PM

I don't know how that installer works. My advice;
- start again - delete all the partitions.
- install windows. Give it the 60 Gig - leave the rest unallocated.
- install Fedora into the unallocated space, partition it as part of the install.

Keep it simple, and let the installers (just) do their work.

crmpicco 02-15-2007 07:43 AM

thanks syg00, so does that mean i should partition the hard disk provisionally with windows? i.e. you are saying give Windows 60GB of the 80GB total and leave 20GB unallocated for Linux to install on? install windows, then install fc5 after partitioning on the unallocated space?


All times are GMT -5. The time now is 08:00 PM.