Jump to content

Dual Booting need help [solved]


Recommended Posts

I managed to install Mandriva One nice and easily enough the other night. However I am stuck on how to set up dual booting. I have Windows XP on one partition with M1 on the other. On start up i am presented with the options to boot with either linux or windows. when i attempt to boot up using windows i get:

 

root (hd0,0)

filesysyem type unknown

partition type ox7

make active

chainloader +1

_

 

that last flashing dash just stays flashing and nothing happens. I think i probably need to configure something somewhere in GRUB? However when i try accessing menu.lst i can edit but wont allow me to save. I have no idea what to change it to anyway

 

can anyone guide me through setting this up? I am a complete linux noob, only using it for the last mmmm 10hours or so

 

I am using the GRUB menu on start up. this is my partition set up:

--------------------------------------

Disk/dev/hda: 163.9 GB

255 heads, 63 sectors/track 19929 cylinders

units=cylinders of 16865 * 512=8225288 bytes

Disk identifier = ox86828682

 

Device Boot Start End Blocks ID System

/dev/hda1 7649 19928 98639868+ 7 HPFS/NFTS

/dev/hda2 1 7648 61432528 5 Extension

/dev/hda5 1 1819 8185854+ 83 Linux

/dev/hda6 1828 1528 4888511 82 Linux Swap/solaris

/dev/hda7 1529 7648 49158868+ 83 Linux

 

partition table entries are not in disk order

-----------------------------------------

 

this is what menu.lst shows:

 

--------------------------------------

 

timeout 10

color; balck/cyan/yellow/cyan

gfxmenu (hd0,4)/boot/gfxman

default 3

 

title linux

kernel (hd0,4)/boot/vmlinuz Boot_Image=linux root= /dev/hda5

resume=/dev/hda6 spash=silent vga=788

initrd (hd0,4)/boot initrd.img

 

title linux-nonfb

kernel (hd0,4)/boot/vmlinuz Boot_Image=linux-nonfb root= /dev/hda5

resume=/dev/hda6 initrd (hd0,4)/boot initrd.img

 

title failsafe

kernel (hd0,4)/boot/vmlinuz Boot_Image=failsafe root= /dev/hda5 failsafe

initrd (hd0,4)/boot initrd.img

 

title windows

root (hd0,0)

make active

chainloader +1

-----------------------------------------

 

another curious thing, is that i cant save the above menu.lst if i try to edit it, it says make sure u have write access. I am logged in as root user though, or at least i think i am cos i get asked to authenticate 'root' with a password whenever i enter control console.

 

any ideas or help would be appreciated, thanks!!!

 

[moved from Hardware by Greg2 – Welcome aboard. :)]

Edited by barry thomas-brown
Link to comment
Share on other sites

Here is what mine is in 2007.1. I don't know much about the options listed, but maybe the following will help. Note that the second "windows1" is actually a recovery partition called "Rescue and Recovery" on my laptop. You will not likely need this section.

 

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hda5 splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

title linux-nonfb
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/hda5 
initrd (hd0,4)/boot/initrd.img

title failsafe
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hda5 failsafe
initrd (hd0,4)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

title windows1
root (hd0,1)
makeactive
chainloader +1

Link to comment
Share on other sites

I usually use rootnoverify as well, the only lines you need to boot windows are:

 

title windows
rootnoverify (hd0,0)
makeactive
chainloader +1

 

nothing else is required in terms of additional configuration for this - the above is enough.

Link to comment
Share on other sites

hi, thanks, tried that but still no joy. I think it has something to do with not having a boot flag set on teh first partition?

 

here is a link of the progress i have made with this :

 

http://www.linuxforums.org/forum/mandriva-...-need-help.html

 

we are stuck so any further help would be great :)

Edited by barry thomas-brown
Link to comment
Share on other sites

If you want the bootable flag, then you can do it by:

 

su (enter root password when prompted)
fdisk /dev/hda
a
1
w

 

a is used for the option to set the bootable flag.

1 is used to select the first partition to set the bootable flag (this is number one that you press).

w is used to save what we just changed.

 

Now, try and reboot and see if it's any better.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...