LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-15-2007, 10:22 PM   #1
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Rep: Reputation: 0
multi boot problem


i am a linux new user my HD have 3 partition XP , Server2003 , fedora and the fedora i just install

i search so long time that i can connect to internet and update the fedora

but now i have a problem how can i boot back to XP

i can't see anything in the boot menu fedora only and i open the menu.lst to see :

# 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,2)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.22.1-41.fc7)
root (hd0,2)
kernel /vmlinuz-2.6.22.1-41.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.22.1-41.fc7.img
title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img
title Other
rootnoverify (hd0,4)
chainloader +1

no any information about window in Other

is it in fedora need some software to mount window ??
can i re-install the bootloader to re-register all device in fedora ??

please help
 
Old 08-15-2007, 11:18 PM   #2
Astol
Member
 
Registered: Aug 2007
Location: Perth, Australia
Distribution: RHEL 5 + 4.5, Fedora
Posts: 88

Rep: Reputation: 15
when you install Fedora, you will see at some point, a screen asking about the boot loader. when you see this, click "add" and type Windows XP, and again for any other OS's you have. after that, it may be as simple as editing the /etc/boot/grub/grub.conf to have the XP partition pointing to the correct place. ie,

Windows XP ... ... (hd0,0)
to
Windows XP ... ... (hd0,1)

also, if you have multiple Linux's, change

kernel /vmlinuz-2.6.22.1-41.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
to
kernel /vmlinuz-2.6.22.1-41.fc7 ro root=/1
 
Old 08-15-2007, 11:36 PM   #3
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
thx

i try to re-install now


i wish i can see what u say
 
Old 08-16-2007, 12:29 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
No need to re-install - the "Other" entry is for Windoze. Change "rootnoverify (hd0,4)" to "rootnoverify (hd0,0)"
If that doesn't work try "rootnoverify (hd0,1)"
 
Old 08-16-2007, 12:31 AM   #5
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
how to edit grub to point xp ???

i am a new user only so don't know to much
 
Old 08-16-2007, 12:47 AM   #6
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
you mean in my grub.conf:

title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img
title Other
rootnoverify (hd0,4)
chainloader +1

change the rootnoverify (hd0,4)to (hd0,0)/(hd0.1)and then save and restart ,right?
 
Old 08-16-2007, 04:51 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Yep. . . . . .
 
Old 08-16-2007, 05:07 AM   #8
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
i was change (hd0,4) to (hd0,0)
its work but...
before install fedora , i also have a boot menu XP and server2003 and now i can boot back to this menu but when i choose either XP or server2003 after load the window bar suddenly will go to the blue screen :

STOP:c00002la unknown Hard Error
unknown Hard Error

in fedora i can mount all the partition and can open file

how can i do next ??

nice a nice day
 
Old 08-16-2007, 06:04 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
It may depend a little on which order the XP and 2003 were installed. Open a Fedora terminal, and enter the following command
Code:
sudo fdisk -l
(that's a lower case ell, as in list). Post the output here.
What order were the operating systems installed, and into which partitions ???.
 
Old 08-16-2007, 06:15 AM   #10
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
Disk /dev/sda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 65 4938 39150373+ 17 Hidden HPFS/NTFS
/dev/sda2 4939 6050 8932140 f W95 Ext'd (LBA)
/dev/sda3 * 1 13 104391 83 Linux
/dev/sda4 6051 7297 10016527+ 8e Linux LVM
/dev/sda5 4939 6050 8932108+ 7 HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 14592 117210208+ 7 HPFS/NTFS

Disk /dev/sdc: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 24321 195358401 7 HPFS/NTFS


/dev/sda1 is XP

/dev/sda5 is server 2003

/dev/sdb1 my 2nd HD (data only)

/dev/sdc1 my 3rd HD (data only)
 
Old 08-16-2007, 06:25 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Ugh.
Did you by any chance use Partition Magic to "shrink" that sda1 (XP C: drive) to make room for the Fedora sda3 (presumaly /boot) ???.
 
Old 08-16-2007, 06:50 AM   #12
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
yes i was use partition magic to divide HD into 3 partition

1st xp
2nd server2003
3rd fedora

when i format the 3rd to linux format and it say also need create a swap partition before the 1st partition that time i press OK and i haven't get any attention on it
 
Old 08-16-2007, 07:28 PM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
It looks like you had XP installed first. When you install a later version, it uses the prior versions partition for the boot loader code and updates files as needed - ntldr and boot.ini for example. This is how you get the two listed on the Windows boot menu.
This is also why you could install 2003 into a logical partition.
So far so good.

Windows keeps a *lot* of location dependant data in the registry. It does not like the system partition being moved. However I would have expected PM to cater for that.
Try "unhiding" sda1 - that is just a stupid idea.
Code:
sudo  fdisk /dev/sda
t
1
7
w
q
This will change the type for partition one back to NTFS. Try a reboot after that.
 
Old 08-16-2007, 09:08 PM   #14
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
thank you for your suggestion

but how to un-hiide ?

sudo fdisk /dev/sda
t
1
7
w
q

after type

sudo fdisk /dev/sda

enter

The number of cylinders for this disk is set to 7297.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)

Command (m for help):
 
Old 08-16-2007, 09:46 PM   #15
adamkong
LQ Newbie
 
Registered: Aug 2007
Location: hongkong
Posts: 17

Original Poster
Rep: Reputation: 0
i was do it and now :

Device Boot Start End Blocks Id System
/dev/sda1 65 4938 39150373+ 7 HPFS/NTFS
/dev/sda2 4939 6050 8932140 f W95 Ext'd (LBA)
/dev/sda3 * 1 13 104391 83 Linux
/dev/sda4 6051 7297 10016527+ 8e Linux LVM
/dev/sda5 4939 6050 8932108+ 7 HPFS/NTFS

still can't boot to XP when i choose window on the fedora boot menu computer still running but the LCD was to the stand-by mode (orange light)

in the menu.lst , i change 0,4 to 0,0 ,it sometime work , work means sometime can see the window boot menu only but can't boot into window , i say it before if 0,4 to 0,1 it can't be work
 
  


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
How to Boot Multi Windows & Multi Linux olkar Linux - Newbie 5 10-03-2005 11:52 AM
multi boot problem pperk97 Linux - Newbie 4 11-03-2004 10:00 AM
Problem with Linux Suse PE multi-boot! mar122999 Linux - Software 17 09-08-2004 03:27 PM
GRUB, Multi Linux/Multi Disk Boot gtnorton Linux - Software 1 03-16-2003 03:48 AM
Problem with Multi-Boot den_santiago Linux - Newbie 1 10-04-2002 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:38 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
Open Source Consulting | Domain Registration