Results 1 to 9 of 9
hi i have a dual booting with XP/ubuntu 8.10, how can i access to the windows folder. and my hard disc size also not showing correct. it shows only three ...
- 02-21-2009 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 28
[SOLVED] access to windows drives and folders
hi i have a dual booting with XP/ubuntu 8.10, how can i access to the windows folder. and my hard disc size also not showing correct. it shows only three drives , 21 GB, 5.2 GB and 21 GB. But my actual partition shows /home/jayan/Desktop/1/home/jayan/Desktop /home partion itself is 46.57 GB
pl help me
- 02-21-2009 #2
Open Terminal and execute this
Post output here.Code:df -h sudo fdisk -l
* Its small L in fdisk -l.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-21-2009 #3Just Joined!
- Join Date
- Dec 2008
- Posts
- 28
jayan@jayan-desktop:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda9 17G 2.2G 14G 14% /
tmpfs 500M 0 500M 0% /lib/init/rw
varrun 500M 104K 500M 1% /var/run
varlock 500M 0 500M 0% /var/lock
udev 500M 2.8M 497M 1% /dev
tmpfs 500M 104K 500M 1% /dev/shm
lrm 500M 2.0M 498M 1% /lib/modules/2.6.27-7-generic/volatile
/dev/sda8 46G 400M 44G 1% /home
/dev/sda7 38G 32K 38G 1% /windows
jayan@jayan-desktop:~$ sudo fdisk -l
[sudo] password for jayan:
Sorry, try again.
[sudo] password for jayan:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd0cdd0cd
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 19457 135805477+ f W95 Ext'd (LBA)
/dev/sda5 2551 3182 5076508+ b W95 FAT32
/dev/sda6 3183 5737 20523006 7 HPFS/NTFS
/dev/sda7 5738 10600 39062016 b W95 FAT32
/dev/sda8 10601 16679 48829536 83 Linux
/dev/sda9 16680 18867 17575078+ 83 Linux
/dev/sda10 18868 19457 4739143+ 82 Linux swap / Solaris
jayan@jayan-desktop:~$
- 02-21-2009 #4
Execute this
Press Alt+F2 and type thisCode:cd /media mkdir win_c win_d win_e
It will open /etc/fstab file in Gedit.Code:gksu gedit /etc/fstab
Add this code in the file :
Save file and reboot machine.Code:/dev/sda1 /media/win_c ntfs-3g defaults,umask=0 0 0 /dev/sda5 /media/win_d vfat defaults,umask=0 0 0 /dev/sda6 /media/win_e ntfs-3g defaults,umask=0 0 0
Check /media/win_c, win_d and win_e folders. You will have full access in those.
Check /windows folder too. It is mounted already.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-22-2009 #5Just Joined!
- Join Date
- Dec 2008
- Posts
- 28
mkdir: cannot create directory `win_c': Permission denied
jayan@jayan-desktop:~$ cd /media
jayan@jayan-desktop:/media$ mkdir win_c win_d win_e
mkdir: cannot create directory `win_c': Permission denied
mkdir: cannot create directory `win_d': Permission denied
mkdir: cannot create directory `win_e': Permission denied
jayan@jayan-desktop:/media$ sudo
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...
jayan@jayan-desktop:/media$ sudo cd /media
sudo: cd: command not found
jayan@jayan-desktop:/media$ mkdir win_c win_d win_e
mkdir: cannot create directory `win_c': Permission denied
mkdir: cannot create directory `win_d': Permission denied
mkdir: cannot create directory `win_e': Permission denied
jayan@jayan-desktop:/media$
- 02-22-2009 #6
Preface each of those commands with sudo
But you don't need sudo for cd command, just a simpleCode:sudo mkdir win_c win_d win_e
Code:cd /media
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 02-22-2009 #7My mistake. Prefix sudo as suggested by MikeTbob.jayan@jayan-desktop:/media$ mkdir win_c win_d win_e
mkdir: cannot create directory `win_c': Permission denied
mkdir: cannot create directory `win_d': Permission denied
mkdir: cannot create directory `win_e': Permission denied
Edit /etc/fstab file as I suggested in last post.Code:cd /media sudo mkdir win_c win_d win_e
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-23-2009 #8Just Joined!
- Join Date
- Dec 2008
- Posts
- 28
it worked, thank you so much sir..........!
- 02-23-2009 #9
Glad to help you !
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


