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 01-14-2007, 04:11 PM   #16
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112

You haven't installed any of the OS in the partitions have you? Of course none of them work but it is ready.

I believe you are going to put the new systems in the Fedora disk which is the 2nd disk and so it will be known to Grub as (hd1).

It sounds your Vista is booted from the XP partition of (hd0,0) and so there is no needed fro Fedora to boot the Vista from (hd1,0).
 
Old 01-14-2007, 04:22 PM   #17
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
deleted due to double post
 
Old 01-14-2007, 05:52 PM   #18
tcrew
Member
 
Registered: Jan 2007
Posts: 35

Original Poster
Rep: Reputation: 15
No i haven't installed any other os's yet, So if this is the layout.

HardDrive:
Primary NTFS: WinXP (This is on it's own drive only 1 partition)(hd0,0)

HardDrive:
Primary NTFS: Drivers (i have this for new XP installs)(hd1,0)
Primary NTFS: Storage (This holds my download etc for XP)(This drive also hosts Vista)(hd1,1)
Primary Ext3: FEDORA NOW RUNNING HERE(hd1,2)

Extended: What hd are these i thought they'd be hd1 But when i used hd1 xp wouldn't load.
Logical Ext3: Want to install ManDriva here
Logical Ext3: Want to install SuSe here
Logical Ext3: Free for further Linux Installs (Testing)
Logical Ext3: Free for further Linux Installs (Testing)
Logical Ext3: Free for further Linux Installs (Testing)

Maybe the xp info should have been bottom..? cause of chainloader+1

#boot=/dev/sda
default=0
timeout=5
splashimage=(hd1,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd1,2)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=LINUX rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title WinXP
rootnoverify (hd0,0) Should this be moved to the bottom..?
chainloader +1

Title Mandriva to be installed in hda5
root (hd1,3)
chainloader +1
Title Suse to be installed in hda6
root (hd1,4)
chainloader +1
Title Empty @ hda7
root (hd1,5)
chainloader +1
Title Empty @ hda8
root (hd1,6)
chainloader +1
Title Empty @ hda9
root (hd1,7)
chainloader +1

Last edited by tcrew; 01-14-2007 at 05:57 PM.
 
Old 01-14-2007, 06:00 PM   #19
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Cut and past here the screen output of
(1)
Code:
fdisk -l
(2)
/boot/grub/menu.lst

(3)
/boot/grub/device.map

Assuming you haven't alter the disk order.

At any one time if you want to check the disk order just type "sudo grub" at the Fedora terminal and get Grub report to you by the two geometry statements I mentioned in Post #14
 
Old 01-15-2007, 01:57 AM   #20
tcrew
Member
 
Registered: Jan 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Fdisk -l says...

Code:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       30401   244196001    7  HPFS/NTFS

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               2         431     3453943+   7  HPFS/NTFS
/dev/sdb2   *         432       18150   142327867+   7  HPFS/NTFS
/dev/sdb3           18151       20063    15366172+  83  Linux
/dev/sdb4           20064       30515    83955690    f  W95 Ext'd (LBA)ahh the extended part is counted
/dev/sdb5           20064       21976    15366141   83  Linux Making this (hd1,4)
/dev/sdb6           21977       23889    15366141   83  Linux
/dev/sdb7           23890       25802    15366141   83  Linux
/dev/sdb8           25803       27715    15366141   83  Linux
/dev/sdb9           27716       29628    15366141   83  Linux
/dev/sdb10          29629       30515     7124796   82  Linux swap / Solaris
Sudo grub is saying...

[tcrew@tcrews ~]$ sudo grub
tcrew is not in the sudoers file. This incident will be reported.

Here's Menu.lst

Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd1,2)
#          kernel /boot/vmlinuz-version ro root=/dev/sdb3
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd1,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2869.fc6)
        root (hd1,2)
        kernel /boot/vmlinuz-2.6.18-1.2869.fc6 ro root=LABEL=LINUX rhgb quiet
        initrd /boot/initrd-2.6.18-1.2869.fc6.img
title WinXP
        rootnoverify (hd0,0)
        chainloader +1

Device.map is....

# this device map was generated by anaconda
(hd0) /dev/sda
(hd1) /dev/sdb

Last edited by tcrew; 01-15-2007 at 02:22 AM.
 
Old 01-15-2007, 02:32 AM   #21
tcrew
Member
 
Registered: Jan 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Ok got it working now thanks for all your help.

Code:
default=0
timeout=30
splashimage=(hd1,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2869.fc6)
        root (hd1,2)
        kernel /boot/vmlinuz-2.6.18-1.2869.fc6 ro root=LABEL=LINUX rhgb quiet
        initrd /boot/initrd-2.6.18-1.2869.fc6.img
title ManDriva To Be Installed Here
        root (hd1,4)
        chainloader +1
title SuSe To Be Installed Here
        root (hd1,5)
        chainloader +1
title Windows XP Professional
        rootnoverify (hd0,0)
        chainloader +1
The problem i think i had before was i didn't include
/dev/sdb4 20064 30515 83955690 f W95 Ext'd (LBA)
in the hd count.

Again thanx for all your help and especially your paitience...
 
Old 01-15-2007, 05:57 AM   #22
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Yep I was patient alright.

Asked the "fdisk -l" in Post #12

Asked it again in Post #19

The bomb was set to go off at Post #22.

But you defused it. So credit to you.

So hopefully from now on you stick with Linux "fdisk" and use only "cfdisk" for partitioning. These are the only tools I used for over 210 partitions in my box full of Dos, Windows, Linux, Solaris and BSD. Third party software do not understand the amount of partitions Linux handles.

The state of the art partitioning program in Linux is actually "gparted" v3.3 available in free Live CD downloadable iso file. The same program is also available in "Parted Magic", which is also a Live CD. I still recommend cfdisk because I have rebuilt partition tables at least a dozen times for many 60+ partitions hard disks with it and got 99.9% data recovery. The reason of sticking with one partitioning tool is because you will then be using only one unit in determining the partition sizes. Getting the exact partition sizes right is vital if you ever have a need to rebuild the partition table.

Last edited by saikee; 01-15-2007 at 06:10 AM.
 
Old 01-15-2007, 09:51 AM   #23
tcrew
Member
 
Registered: Jan 2007
Posts: 35

Original Poster
Rep: Reputation: 15
I think i will stick with only 1 in the future and try cfdisk next time.
 
  


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
Partition Problems: Bad primary partition 1: logical partitions overlap rovitotv Slackware 6 01-08-2006 07:55 PM
Partition problems Olle Linux - Newbie 12 06-02-2004 10:09 AM
Partition problems geniarse Linux - Hardware 9 05-06-2004 08:30 PM
Partition Problems... WillBender Linux - Newbie 11 02-21-2004 03:55 PM
help! partition problems! Aman9090 Linux - Newbie 1 09-20-2002 07:03 PM

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

All times are GMT -5. The time now is 10:33 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