DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have linux ubuntu installed and i have windows XP installed. Each one is on it's own hard disk. unfortunately now i cant boot windows xp. i opened menu.lst and didn't find the windows line there so i added it myself this is what i wrote:
Code:
## ## END Default Options ##
##this is what i wrote
title Windows XP proffesional
root (hd0,1)
makeactive
chainloader +1
##that's all that i wrote.
title Ubuntu, kernel 2.6.10-5-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda1 to
quiet splash
initrd /boot/initrd.img-2.6.10-5-386
boot
##etc...
but now when it starts up and i press esc and choose win XP it tells me this:
Code:
Booting 'Windows XP Professional'
root (hd0,1)
Filesystem type unknown, partition type 0x5
makeactive
Error 12: Invalid device required
Press any key to continue
all this is because i didn't install linux in the MBR. i don't think it asked me for it...i tried playing around with the root (hd0,1) changing it to hd0,2 or 3 etc.. different types of error messages each time. i can't get to windows. windows is on the slave harddisk linux is on the master harddisk. sory for writing so much.
oh yeah and when i open the console and write fdisk -l nothing comes up!
Booting 'Windows XP Professional'
root (hd1,0)
Filesystem type unknown, partition type 0xf
makeactive
Error 12: Invalid device requested
Press any key to continue...
The windows harddrive is completely unpartitioned so (hd1,0) should work shouldn't it.
Last edited by Vlad_Einhorn; 05-25-2005 at 10:28 AM.
Booting 'Windows XP Professional'
rootnoverify (hd1,0)
makeactive
Error 12: Invalid device requested
Press any key to continue...
EDIT: i removed the makeactive code and now it no longer gives me an error it just gives me a flashing underscore and that's it. been like that for a while now...
Last edited by Vlad_Einhorn; 05-25-2005 at 10:39 AM.
OK, first of all, it may have been automatically detected and mounted for you. To find out, have a look at the file /etc/fstab
If this contains a line mentioning /dev/hdb1 (assuming you're using IDE disks - you probably are), then the Windows partition is already mounted, and the contents should be found in the directory specified on that line.
Otherwise, you'll need to do the following, as root:
1. Create a directory where you want to mount the partition (mkdir /mnt/windows).
2. Run the mount command, as follows: mount -t ntfs /dev/hdb1 /mnt/windows
If this doesn't give you any errors, then the partitions mounted.
To browse it, just use the file browser of your choice to navigate to the directory specified in /etc/fstab (or that you created).
Alternatively, to use the command line, type cd /path/to/directory (obviously, inserting the real path), and then type ls to view the contents.
It's not in there yet then. You'll need to follow the steps I outlined in my earlier post.
I've got to go for the evening now, so I won't be able to give you any more advice until the morning. I'm sure kesara or someone else will be able to carry on helping though.
(edit)
Sorry, I missed the last line of your post the first time around. Were you root when you tried to create the directory? Type su and when prompted, your root password to get the necessary access.
ok. thanks man. i 'll try the mounting now.
EDIT: what on earth is the root password. i tried my normal login pass. nope. not my windows pass or my bios pass either! sorry you guys.
soz not su in ubuntu supposed to write sudo
Last edited by Vlad_Einhorn; 05-25-2005 at 11:50 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.