Access to Linux (ext3) & Windows (FAT32) partitions (from Ubuntu 9.04)
Fred Roller
froller at tnclimited.com
Tue Aug 11 12:58:44 UTC 2009
On Tue, 2009-08-11 at 09:34 +0530, Jay Mistry wrote:
>
>
> On Mon, Aug 10, 2009 at 7:00 PM, Heike C. Zimmerer
> <nospam08q2 at gmx.net> wrote:
> Jay Mistry <jaylinux53 at gmail.com> writes:
>
> > AFAIK 'fdisk' should be part of the default bash shell
> commands. I alos
> > tried looking into the Package Manager for fdisk related
> packages &
> > installed them. But this also doesnt work.
>
>
> fdisk is part of the base installation. It has nothing to do
> with bash
> except the usual place to run it is in a terminal and from a
> bash
> prompt.
>
> fdisk is located in /sbin. Since /sbin is usually not in a
> user's
> $PATH, this means you have to run it as root (e.g., from sudo)
> or
> explicitly call it as /sbin/fdisk, or include /sbin into your
> $PATH.
>
> Heike
>
>
>
> Running sudo /sbin/fdisk -l gave the HD & partition output. (On Fedora
> 10, I do not have to su - to root, just fdisk -l as normal user gives
> the proper output).
>
> The result of "sudo /sbin/fdisk -l" is at
> http://pastebin.com/f37fea47d
>
> Jay
>
The following should set you up based on what you have
Next in sequence and not using O so it doesn't get confused with 0:
mkdir /media/Windows_P
Edit fstab
gksu gedit /etc/fstab
copy anyone of the window lines and change to mimic:
/dev/sda1 /media/Windows_P vfat defaults,locale=en_IN 0 0
^ ^ ^^^^
Please note the changes. If you have r/w issues we can set umask later.
But this should survive reboot.
Your fedora will look similar:
/dev/sd[a-c][1-9] /media/fedora ext3 defaults 0 0
^ ^ ^^^^^^ ^^^^ ^
Again note the changes. I do not recall which drive and partition
fedora was on but since it boots I would assume sdb4. Change the mount
point. Change fs type to ext3. I deleted the en reference.
Hope this helps.
--
Fred R.
www.fwrgallery.com
"Life is like Linux - simple; if you are fighting it, you are doing
something wrong."
More information about the ubuntu-users
mailing list