LinuxQuestions.org
Help answer threads with 0 replies.
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-16-2006, 03:33 AM   #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

One thing that will help you considerably is next time you are in Suse put a # in front of the line "fgxmenu" in /boot/grub/menu.lst. This will disable graphic screen of Grub but at the time gives you back the option of a Grub prompt.

When you reboot again the bottom of the Grub menu will have an option to press "c". That will give you a Grub prompt with which you can boot up XP manually.

It is so easy if you know which partition. If XP is in the first partition of the first bootable disk it is known to Grub as (hd0,0), as Grub counts from 0. At a Grub prompt you can ask Grub to show you the partitions of 1st disk (hd0) by
Code:
geometry (hd0)
if XP partition, type ID 0x7, is in partition 0 you can type these lines to fire it up manually
Code:
root (hd0,0)
chainloader +1
boot
 
Old 01-16-2006, 01:14 PM   #17
gherb
LQ Newbie
 
Registered: Jan 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Saikee...here's a few things that might help from a few commands in xterm:

linux:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 8.8G 1.9G 7.0G 21% /
/dev/hdd1 234G 40G 195G 17% /windows/D
/dev/sda1 18G 9.2G 7.9G 54% /windows/E
shmfs 505M 0 505M 0% /dev/shm
linux:~ #


also, with cfdisk it gives me this:

cfdisk 2.11z

Disk Drive: /dev/hda
Size: 122942324736 bytes, 122.9 GB
Heads: 255 Sectors per Track: 63 Cylinders: 14946

Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
] hda1 Primary NTFS [ 112439.58
hda2 Primary Linux swap 1069.29
hda3 Boot Primary Linux ReiserFS 9417.95
Pri/Log Free Space 8.23








[Bootable] [ Delete ] [ Help ] [Maximize] [ Print ]
[ Quit ] [ Type ] [ Units ] [ Write ]

Toggle bootable flag of the current partition

Last edited by gherb; 01-16-2006 at 01:22 PM.
 
Old 01-16-2006, 01:20 PM   #18
gherb
LQ Newbie
 
Registered: Jan 2006
Posts: 12

Original Poster
Rep: Reputation: 0
the 18 gig drive is a scsi drive used for storage and is NTSF for WIndows (E
The 250 Gig drive is also storage...also NTFS (d
The 120 Gig drives is my bootable drive which has a large NTFS partition with my Win Xp, and an 8 Gig partition for Linux where my Suse 8.2 resides (c
 
Old 01-16-2006, 02:11 PM   #19
gherb
LQ Newbie
 
Registered: Jan 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Problem solved!

It turns out a simple edit of the GRUB menu.lst file was all that was needed for Windows to be an option in the GRUB menu.

Here is the fix below: Highlighted in bold is the Windows entry for my machine, which was added.

Quote:
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1



title linux
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x31a hdb=ide-scsi hdblun=0 hdc=ide-scsi hdclun=0 splash=silent showopts
initrd (hd0,2)/boot/initrd

title floppy
root (fd0)
chainloader +1

title failsafe
kernel (hd0,2)/boot/vmlinuz.shipped root=/dev/hda3 showopts ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3
initrd (hd0,2)/boot/initrd.shipped
Note that I saved the original menu.lst as menu.orig, as a backup in case theigs went bad.


Thank you all for the help...great forum!

Last edited by gherb; 01-16-2006 at 02:13 PM.
 
Old 01-16-2006, 05:18 PM   #20
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 are welcome!

I think the team work here worked great and put you in the right track.

Last edited by saikee; 01-16-2006 at 05:19 PM.
 
  


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
SUSE 10 won't allow me to use GRUB as a bootloader Jongi SUSE / openSUSE 13 02-17-2006 07:47 AM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 09:53 AM
repairing GRUB deardron Linux - Software 5 12-29-2003 05:11 PM
help booting windows on Suse 8.2 Grub bootloader intenseprod Linux - Newbie 1 07-27-2003 11:35 PM
Need help repairing GRUB! Please! DJSpaceMouse Linux - Software 19 05-27-2003 02:44 PM

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

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