pipa Posted March 21, 2007 Report Share Posted March 21, 2007 Hi, I have installed mandriva with Mandriva ONE CD. I installed it as a dual boot with WIN-XP. I am experiencing few problems.Please guide me. 1. If I login as root in the shell(bash) and type mount, it shows me 3 mounted devices: a) ext3 b) ext3 and c) CD-ROM, the problem is, it DOESN"T even show NTFS partition. Please suggest me what should I do. 2. I read somewhere that typing sudo will give me some more info. I typed 'sudo' and it says "sudo: command not found". I typed in "which sudo", it says "sudo not found". 3. When I go to configure, it shows that GCC is installed. When I come to the shell and type "gcc", it says "gcc:command not found". when i type "which gcc", it says "gcc not found". Please help. Thanks. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 21, 2007 Report Share Posted March 21, 2007 Normally an entry would have been added to /etc/fstab to mount your NTFS partition. You need to know what partition it was on. Please can you post the output of both these commands: cat /etc/fstab fdisk -l that's L lowercase. You need to type "su" first before running fdisk command, and enter root password when prompted. As for sudo, you don't need to use it with Mandriva, just use the "su" command like I mentioned above for commands you can't run as regular user. For gcc, go into the install software, search for gcc, and install the package. You can find it in System/Configure/Packaging. Alternatively, from command line: urpmi gcc to install it. Quote Link to comment Share on other sites More sharing options...
pipa Posted March 22, 2007 Author Report Share Posted March 22, 2007 cat /etc/fstab Output is: /dev/hda5 / ext3 noatime 1 1 /dev/hda7 /home ext3 noatime 1 2 /dev/hdc /mnt/cdrom auto umask=0,users,noauto,ro,exec 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 fdisk -l Disk /dev/hda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 4079 32764536 7 HPFS/NTFS /dev/hda2 4080 4864 6305512+ 5 Extended /dev/hda5 4080 4506 3429846 83 Linux /dev/hda6 4507 4592 690763+ 82 Linux swap / Solaris /dev/hda7 4593 4864 2184808+ 83 Linux For gcc, go into the install software, search for gcc, and install the package. You can find it in System/Configure/Packaging. Alternatively, from command line: urpmi gcc to install it. When I say "urpmi gcc" it says no package named gcc I hope that helps. I also downloaded gcc package from internet. I dont know how to install it. Thanks a lot. Quote Link to comment Share on other sites More sharing options...
dexter11 Posted March 22, 2007 Report Share Posted March 22, 2007 For gcc you need to setup your sources first. Go to http://easyurpmi.zarb.org and follow the steps. Then try urpmi gcc again. For adding Windows partition launch MCC (System\Configuration\Configure your computer) and on the Mount poits tab click on the first icon which says something like creating or resizing partitions. Click on the partition you want to mount, hda1, and mount it. Note that you can only read that partition. If you want to write on it you need to install ntfs-3g. Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted March 23, 2007 Report Share Posted March 23, 2007 For gcc you need to setup your sources first. Go to http://easyurpmi.zarb.org and follow the steps. and you can also install the sudo package in the same vein. it has its own uses and advantages over su on some cases. :) ciao! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.