Jump to content

Some Problem - new Mandriva user


pipa
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...