delcolt
May 25 2005, 11:36 AM
hey...
i decided i wanted something new so i tried putting linux on my windows pc.
i already installed windows and then used partitionmagic to install linux fedora core.
it said it would use bootmagic so that i could choose between the two operating systems.
when i restarted the pc it made two partitions, one for linux, one for xp
but when it restarted it said something about being unable to execute operating system
so i decided to put the fedora cd 1 inside. and it started installing...
at the end of the installation linux was finally installed and whenever i rebooted it would start linux...
but that wasnt what i wanted because i thought that i could choose between linux and windows.
so now i have windows floating around somewhere on my pc where i cant reach it and meanwhile i can only access the pc via linux.
can someone help me please?
Corey
May 25 2005, 04:11 PM
Ok, let's see if Windows is still around.
When you boot up fedora, and get into the desktop (i'm assuming it's GNOME, i've never used Fedora), open up a console window (should be in one of the menus somewhere). When that opens up, you'll see a terminal window, inside this window type:
[quote]
su -
[/quote]
That will ask for your root password which you should have set during the install. When this is done, you'll see nothing extra special on the screen. Execute the following command:
[quote]
/sbin/fdisk -l
[/quote]
That would be a dash (-) and a small 'L'. This will give you a list of partitions on your computer, to give you an example, my system looks like this:
[quote]
Disk /dev/hda: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 81266 40957686 7 HPFS/NTFS
/dev/hda2 81266 81457 96390 83 Linux
/dev/hda3 81460 82452 499968 82 Linux swap / Solaris
/dev/hda4 82461 129732 23824395 5 Extended
/dev/hda5 82461 129732 23824363+ 83 Linux
[/quote]
As you can see by my example, /dev/hda1 is my windows partition because it has the "NTFS" filesystem on it. If you see this in your output, then so far so good, the Windows partition still exists.
Now, lets see if we still have files on there. Execute the following commands in order. Assumeing that your NTFS partition is /dev/hda1 (if it's different, then please substitute)
[quote]
mkdir /mnt/winxp
mount -t ntfs /dev/hda1 /mnt/winxp
cd /mnt/winxp
ls
[/quote]
This should give you a directory listing of your windows drive. Before I go any further, i would ask you tell us if this was successful or not, and if possible, please post your outputs of the fdisk command the ls command.
Thanks.
delcolt
May 26 2005, 05:30 AM
i think its working untill now... i get the following:
CODE
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
[root@localhost ~]#
oh but one thing, it doesnt exactly say HPFS/NTFS but hidden HPFS/NTFS, is that okay?
Corey
May 26 2005, 11:08 AM
That output you have posted, all that means is that you used the incorrect syntax with the 'mount' command, and it's telling you the help file.
What is the output of the fdisk command?
delcolt
May 26 2005, 12:08 PM
Schijf /dev/hda: 60.0 GB, 60022480896 bytes
255 koppen, 63 sectoren/spoor, 7297 cylinders
Eenheden = cylinders van 16065 * 512 = 8225280 bytes
Apparaat Boot Start End Blocks Id System
/dev/hda1 1 5002 40178533+ 17 Verborgen HPFS/NTFS
/dev/hda2 * 5003 5015 104422+ 83 Linux
/dev/hda3 5016 7297 18330165 8e Linux LVM
sorry, im dutch
Corey
May 26 2005, 07:38 PM
ok, so, you should mount your windows drive with the following command:
QUOTE
mkdir /mnt/winxp
mount -t ntfs /dev/hda1 /mnt/winxp
hopefully you won't get a syntax error like before, if you do, just give it another shot. After this, you can do a list to see if your files are still there:
QUOTE
ls
that's a small letter "L".
Let us know what you find.
delcolt
May 26 2005, 11:03 PM
this is the complete list:
CODE
[root@localhost ~]# /sbin/fdisk -l
Schijf /dev/hda: 60.0 GB, 60022480896 bytes
255 koppen, 63 sectoren/spoor, 7297 cylinders
Eenheden = cylinders van 16065 * 512 = 8225280 bytes
Apparaat Boot Start End Blocks Id System
/dev/hda1 1 5002 40178533+ 17 Verborgen HPFS/NTFS
/dev/hda2 * 5003 5015 104422+ 83 Linux
/dev/hda3 5016 7297 18330165 8e Linux LVM
[root@localhost ~]# mount -t ntds/dev/hda1 /mnt/winxp
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
[root@localhost ~]# ls
anaconda-ks.cfg install.log install.log.syslog
[root@localhost ~]#
Corey
May 27 2005, 05:11 AM
Your mount line is incorrect:
QUOTE
[root@localhost ~]# mount -t ntds/dev/hda1 /mnt/winxp
should read:
QUOTE
[root@localhost ~]# mount -t ntfs /dev/hda1 /mnt/winxp
Notice the 'NTFS' filesystem, and there's a space between 'ntfs' and '/dev/hda1'
I know this seems pretty tedious and pretty technical, but believe me, it's troubles like this that make you learn about Linux, and this stuff will be second nature to you in no time.
delcolt
May 27 2005, 06:07 AM
i get the following:
[root@localhost ~]# mount -t ntfs /dev/hda1 /mnt/winxp
mount: bestandssysteem soort ntfs niet ondersteund door kernel
it means that the filesystem isnt supported by kernel
michaelk
May 27 2005, 06:57 AM
Fedora by default does not include NTFS support it its default kernel. Go to the posted website and download the RPM file that matches the version of Fedora you are running. Follow the posted instructions to install. This is read only support.
http://linux-ntfs.sourceforge.net/rpm/index.htmlIs there a menu displayed during the boot process? What is the contents of the file /etc/grub.conf?
Corey
May 27 2005, 09:46 AM
Wow, Fedora doesn't include NTFS support?? Is there any reason for this? As far as i knew, there were no legal issues surrounding it, but i could be wrong. That is horrible though seeing Fedora is *supposed* to be one of the main distributions for new users. Wow, that's really depressing.
delcolt
May 27 2005, 10:02 AM
im going to reformat the pc, ill most probably install another distribution, which one is adviced for a beginner?
michaelk
May 27 2005, 02:37 PM
I don't I've read anything on why NTFS support isn't included.
delcolt,
To restore the windows bootloader boot up using the XP install CD to recovery mode and run the fixmbr utility. What about SuSE?
Corey
May 30 2005, 06:13 AM
Yeah, i would suggest SuSE, Mandrake, or even Ubuntu. I have just started using ubuntu, and i like it a lot. But, SuSE is a really great choice as well if you want something pretty basic, but complete.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.