LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-06-2006, 11:27 AM   #1
Linux_noobnoob
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 21

Rep: Reputation: 15
Various problems


I've just installed Fedora Core 4 over my previous installation of Suse 9.3. Firstly, I have windows XP installed on the primary partition and Linux on the other. Now, I can't get linux to see this windows partition. When I installed linux, it recognised the partition to be on drive hda, but when I go into my /dev folder, there is no such file. Also, if I try and boot windows it fails, saying words to the affect of 'cannot find partition'.

Secondly, in Konsole, it doesn't recognise certain well-known commands, for exmaple it doesn't recgonise shutdown or fdisk.

Confused...
 
Old 03-06-2006, 12:13 PM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
If you're trying to run shutdown or fdisk as a normal user, you won't see them because they're usually in /sbin which isn't part of a non-root user's path. If they're not appearing when you go su, try using 'su -' instead (without quotes).

Are you using a SATA drive? Try looking at /dev/sda instead.
 
Old 03-06-2006, 05:57 PM   #3
Linux_noobnoob
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
The su - thing has worked, so thanks for that.

But on the drive front, I only using ATA drives.
 
Old 03-06-2006, 06:40 PM   #4
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
OK, what are the contents of /etc/mtab and /etc/fstab ? What can you see when you look at your drive in the Hardware Browser? It sounds like you may have inadvertently overwritten your Windows partition.
 
Old 03-06-2006, 07:20 PM   #5
Linux_noobnoob
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
OK, here's the readout for mtab:

Code:
/dev/hdb7 / ext2 rw 0 0
/dev/proc /proc proc rw 0 0
/dev/sys /sys sysfs rw 0 0
/dev/devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
automount(pid2219) /misc autofs rw,fd=4,pgrp=2219,minproto=2,maxproto=4 0 0
automount(pid2245) /net autofs rw,fd=4,pgrp=2245,minproto=2,maxproto=4 0 0
and fstab:

Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext2    defaults        1 1
/dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0
/dev/proc               /proc                   proc    defaults        0 0
/dev/sys                /sys                    sysfs   defaults        0 0
/dev/hdb6               swap                    swap    defaults        0 0
/dev/hdd                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
/dev/hdc                /media/cdrom            auto    pamconsole,exec,noauto,managed 0 0
I know I haven't wiped the partition, because I hooked up my HD to my mum's computer, and I could see and access the windows partition perfectly. Hes is running XP.
 
Old 03-07-2006, 03:07 PM   #6
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Try the following:
Code:
$ su
# yum install kernel-module-ntfs
# mkdir /media/windows
# mount -t ntfs /dev/hda1 /media/windows
This should mount your Windows partition. If it works, then you can set Windows to boot automatically in future, and we can try to figure out why your bootloader isn't loading Windows. If this doesn't work, then you'll need to provide some more information!

Note that I have assumed that
  1. you have yum set up
  2. you want to mount Windows in the directory '/media/windows'
  3. Windows is on the first partition on your first hard drive
  4. it is formatted ntfs
If any of these are not true and you don't know what to change, ask.

Last edited by Gethyn; 03-07-2006 at 03:11 PM.
 
Old 03-07-2006, 05:25 PM   #7
Linux_noobnoob
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 21

Original Poster
Rep: Reputation: 15
The booting of windows seems to have sorted itself out. But it still can't see the partition from within linux. I tried that nfs driver thing and it worked, in that it could see that partition and mount it. But it had to be manually mounted each time I restarted the computer.
 
Old 03-08-2006, 04:45 PM   #8
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
OK, no problem. Just add the following line to /etc/fstab :
Code:
/dev/hda1  /media/windows  ntfs  ro,noexec,umask=0222  0 0
That ought to make it mount automatically every time you reboot. If you want to know what it all means, I advise looking here
 
  


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
Marvell Yukon Network driver problems, Lilo Windows boot Problems mellowdog Slackware - Installation 7 01-25-2006 02:18 AM
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration