LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-12-2005, 01:47 AM   #1
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Rep: Reputation: 15
Grub boot issues


Hello,

Can someone please help me. I just installed Ubuntu Linux 4.10.
When I try and boot back into my Windows XP partition I get this error:

Booting 'Windows XP'

root (hd0,0)
Filesystem type unknown partition type 0x7

savedefault
makeactive
chainloader +1

The system just stops here. Until I reset it.

After I installed ubuntu I used apt-get to get the latest kernel:
2.6.8.1-5-386

Here is a list of my partition table:

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 50793 25599546 7 HPFS/NTFS
/dev/hda2 50794 110472 30078216 c W95 FAT32 (LBA)
/dev/hda3 110473 153100 21484512 83 Linux
/dev/hda4 153101 155061 988344 83 Linux

The parition are all primary partitions ( I don't know if that was the correct thing to do ).

This is my grub version:
grub --version
grub (GNU GRUB 0.95)

This is my menu.1st file:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 4

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
color black/yellow yellow/black

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default optons below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda3 ro noapic

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## nonaltoption boot targets option
## This option contols options to pass to only the
## primary kernel menu item.
## You can have ONLY one nonaltoptions line
# nonaltoptions=quiet splash

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## ## End Default Options ##

title Ubuntu, kernel 2.6.8.1-5-386
root (hd0,2)
kernel /boot/vmlinuz-2.6.8.1-5-386 root=/dev/hda3 ro noapic quiet splash
initrd /boot/initrd.img-2.6.8.1-5-386
savedefault
boot

title Ubuntu, kernel 2.6.8.1-5-386 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.8.1-5-386 root=/dev/hda3 ro noapic single
initrd /boot/initrd.img-2.6.8.1-5-386
savedefault
boot

#title Ubuntu, kernel 2.6.8.1-3-386
#root (hd0,2)
#kernel /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hda3 ro noapic quiet splash
#initrd /boot/initrd.img-2.6.8.1-3-386
#savedefault
#boot

#title Ubuntu, kernel 2.6.8.1-3-386 (recovery mode)
#root (hd0,2)
#kernel /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hda3 ro noapic single
#initrd /boot/initrd.img-2.6.8.1-3-386
#savedefault
#boot

title Memory test
root (hd0,2)
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Windows XP
root (hd0,0)
savedefault
makeactive
chainloader +1

I am running an Athlon-64 but I am using the i386 install of ubuntu. I have no issue booting Ubuntu.
Thank you for any help.
 
Old 03-12-2005, 08:20 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Edit the menu.lst and try the windows section part looking like this...

title Windows XP
rootnoverify (hd0,0)
chainloader +1
 
Old 03-12-2005, 09:20 PM   #3
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Original Poster
Rep: Reputation: 15
Thanks mate. I will give it a go.
 
  


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: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 04:13 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 12:45 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
Dual boot issues… Not SuSE, but Grub… LinuxHawk Linux - General 1 11-06-2004 11:41 PM
Boot issues with GRUB and LILO evilregis Linux - General 1 05-16-2004 10:28 PM


All times are GMT -5. The time now is 05:51 PM.

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