LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-09-2003, 11:41 PM   #1
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
boot problems 2k on extended par. GRUB


Ive spent last 3 hours or so reading everything on GRUB and testing out countless variations trying to boot my win2k partition. Heres my grub.conf and what my patitions look like:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title Windows 2000 Professional
map (hd0,0) (hd0,4)
map (hd0,4) (hd0,0)
rootnoverify (hd0,4)
chainloader +1
--------------------------------------------------------------------------------------------------------------------
Device Boot Start End Blocks Id System
/dev/hda1 1 13 104391 83 Linux <----boot
/dev/hda2 14 2563 20482875 93 Amoeba <----ext3-rh9
/dev/hda3 2564 2694 1052257+ 92 Unknown <----swap
/dev/hda4 2695 12456 78413265 f Win95 Ext'd (LBA)
/dev/hda5 2695 5244 20482843+ c Win95 FAT32 (LBA) <----win2k
/dev/hda6 5245 7794 20482843+ c Win95 FAT32 (LBA) <----winxp
/dev/hda7 7795 10344 20482843+ c Win95 FAT32 (LBA)
/dev/hda8 10345 12456 16964608+ c Win95 FAT32 (LBA)

I have not yet tried to boot into xp yet. Wait till I get 2k working and hopefully from there xp wont be any trouble at all.

Thanks in advance for any help.
 
Old 11-10-2003, 12:49 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Have you tried rootnoverify (hd0,3)?
From memory I don't think you can boot a logical partition, chances are your winxp and 2k is sharing one bootsector(nt os loader), which is inside the bootsector of the extended partition /dev/hda4.
But what's important is how you installed linux and windows, did you use something like partition magic to make space for linux when both windows was already there or did you install windows after linux partitions had been created(and you reinstalled grub back into MBR).

Last edited by Demonbane; 11-10-2003 at 12:50 AM.
 
Old 11-10-2003, 01:27 AM   #3
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
I first loaded linux then created the extended partitions later. I used maxtors partition copy to copy the 2000 and xp partitions onto those from other harddrives. By doing that It left a diff ntldr on each partition.
Ill try your suggested method.


No luck using rootnoverify (hd0,3).

I too thought it was not possible to boot extended partitions. I hope were wrong and it is possible. A boot loader called xlos I believe says it can but grub has the same and more features so I hope it can be done with grub.

Last edited by Zero-0-Effect; 11-10-2003 at 01:49 AM.
 
Old 11-13-2003, 05:50 AM   #4
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
Well after countless more hours I finnaly figured it out...
It is possible to boot windows off the logical partition in the extended partition. My problem was that when I did the partition copy over I failed to realize that windows not only puts boot info on the MBR but must also put it in the first part of a partition which did not get copied over. By doing a restore that took bout 20 min (considerably less time than reinstalling) I was able to boot into both XP and 2K.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 05:50 PM
Can I uninstall grub from extended partition? yonatan1 General 7 03-13-2005 04:17 AM
GRUB problem possible if NTFS d: extended (hda5) Seb74 Linux - Newbie 7 10-28-2004 02:54 PM
Boot off of extended partition? oasisbhrnw99 Linux - Newbie 2 10-25-2004 12:49 PM
Is it Possible to boot from an extended partitoin?? concoran Linux - General 3 10-03-2002 03:05 PM


All times are GMT -5. The time now is 02:37 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration