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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-31-2003, 10:53 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Rep:
|
Mandrake / WinXP problem
I just installed Mandrake 9.1 on a machine that was already running WinXP. I used the recommended option to install into the Windows' partition's free space. The problem is that now Windows won't boot when I select it from the Boot Loader. It just gets stuck on the "Loading windows" screen.
The fact that I cannot load Windows is not so much a problem as is the fact that I NEED access to the files in my Windows partition. How do I go about getting at these? I read some information about how mounting may be what I need... so how do I do that?
Thanks in advance
|
|
|
08-31-2003, 10:58 PM
|
#2
|
Member
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86
Rep:
|
If the windows partition is NTFS, I think mandrake 9.1 has NTFS support I dunno I've never used MD but the general mount command for that is
(first make a mount point)
(as root of course)
mkdir /mnt/windows
(then mount it)
mount -t ntfs /dev/hdXY /mnt/windows
or for a FAT32
mount -t vfat /dev/hdXY /mnt/windows
I'm assuming you know the dev naming system and how it works, if not, just go ahead and ask and we'll explain
edit: we'll make sure this works first, and then we'll check your booting procedure
|
|
|
08-31-2003, 11:01 PM
|
#3
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
If you can boot linux, then your windows partition should be already mounted in under /mnt/win_c or something like that - just look in the /mnt directory. You should be able to read the files.
|
|
|
08-31-2003, 11:05 PM
|
#4
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Hi elipt
Quote:
I just installed Mandrake 9.1 on a machine that was already running WinXP. I used the recommended option to install into the Windows' partition's free space
|
Taking this at face value - when people talk about installing in free space they're referring to installing into unpartitioned free space - not free space thats left over inside a current Windows partition.
Can you currently boot into Linux? Did you use LILO? - Can you post your lilo.conf file?
Open a Console
su
root password
cat /etc/lilo.conf
(Mandrake 9.1 can Read NTFS out of the box)
Last edited by Skyline; 08-31-2003 at 11:07 PM.
|
|
|
08-31-2003, 11:06 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Original Poster
Rep:
|
Quote:
Originally posted by Zb7
(first make a mount point)
(as root of course)
mkdir /mnt/windows
(then mount it)
mount -t ntfs /dev/hdXY /mnt/windows[/B]
|
Yeah, it's NTFS. A couple things:
- How do I make a mount point?
- /mnt/windows already exists.
- When I try the mount command, it says that only the root can do that, although I'm assuming that this has something to do with making a mount point "as root".
|
|
|
08-31-2003, 11:07 PM
|
#6
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Original Poster
Rep:
|
boot=/dev/hda
map=/boot/map
vga=normal
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=off quiet"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=off"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
image=/boot/vmlinuz-2.4.21-0.13mdk
label="old_linux"
root=/dev/hda5
initrd=/boot/initrd-2.4.21-0.13mdk.img
append="quiet devfs=mount hdc=ide-scsi acpi=off"
vga=788
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=nomount hdc=ide-scsi acpi=off failsafe"
read-only
|
|
|
08-31-2003, 11:09 PM
|
#7
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Original Poster
Rep:
|
/mnt/windows is empty, or so it appears
|
|
|
08-31-2003, 11:10 PM
|
#8
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
In general - to create a mount point
Open a shell
su
root password
mkdir /mnt/windows
Have you actually cheked whether its already mounted in /mnt/windows?
|
|
|
08-31-2003, 11:12 PM
|
#9
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
in a terminal window, first become root using the su command. you will be asked for the root password. then do
mount /mnt/windows
this should mount the windows partition.
|
|
|
08-31-2003, 11:13 PM
|
#10
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
BTW, mandrake by default mounts all windows partitions it finds so it shouldn't be necessary to mount it. What is the output of the command df?
|
|
|
08-31-2003, 11:13 PM
|
#11
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Su to root user in a shell - then type
mount –t ntfs –o ro /dev/hda1 /mnt/windows
then go to the /mnt/windows directory and check whether its mounted
|
|
|
08-31-2003, 11:27 PM
|
#12
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Original Poster
Rep:
|
Quote:
Originally posted by Skyline
Su to root user in a shell - then type
mount –t ntfs –o ro /dev/hda1 /mnt/windows
then go to the /mnt/windows directory and check whether its mounted
|
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems
|
|
|
08-31-2003, 11:27 PM
|
#13
|
LQ Newbie
Registered: Aug 2003
Posts: 14
Original Poster
Rep:
|
Quote:
Originally posted by quatsch
BTW, mandrake by default mounts all windows partitions it finds so it shouldn't be necessary to mount it. What is the output of the command df?
|
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 5.4G 1.6G 3.6G 31% /
/dev/hda9 3.4G 148M 3.3G 5% /home
|
|
|
08-31-2003, 11:31 PM
|
#14
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Can you post your mtab file?
su to root user in a shell
cat /etc/mtab
|
|
|
08-31-2003, 11:32 PM
|
#15
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
ok, your windows partition is not mounted.
try as root
mount /mnt/windows
what actually happened to hda6 thru 8?
|
|
|
All times are GMT -5. The time now is 05:33 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.
|
Latest Threads
LQ News
|
|