accessing Windows

Asked by Jerry Story

I upgraded the kernel on Feisty.
Now I can't access Windows partitions. Previously I could.

fstab is not changed. It is the same as fstab_backup.

mtab gets changed. It is not the same as the mtab_backup.
When I copy mtab_backup to mtab and type sudo mount -a, that doesn't work.
When I reboot mtab gets changed again.

How can I access Windows partitions?

This is my mtab_backup.
[quote]
/dev/sdb1 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
devshm /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
lrm /lib/modules/2.6.20-15-generic/volatile tmpfs rw 0 0
/dev/sda6 /media/win-info vfat rw,umask=0000 0 0
/dev/sda7 /media/win-eu vfat rw,umask=0000 0 0
/dev/sda5 /media/win-games vfat rw,umask=0000 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/sdc6 /media/disk ext3 rw,noexec,nosuid,nodev 0 0
/dev/sdc1 /media/disk-1 ext3 rw,noexec,nosuid,nodev 0 0
/dev/sdc5 /media/disk-2 ext3 rw,noexec,nosuid,nodev 0 0
[end quote]

On reboot, the 3 media/win lines are taken out. Why? I want them in.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jerry Story
Solved:
Last query:
Last reply:
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#1

 /etc/mtab is dynamically generated based on what you have currently got mounted. You should not edit it.

 /etc/fstab may be edited however. Have you seen this page:-

https://help.ubuntu.com/community/MountingWindowsPartitions

Revision history for this message
Best Jerry Story (story-jerry) said :
#2

I solved my own problem.

In fstab I replaced
 /dev/sda6
/dev/sda7
/dev/sda5
with the UUIDs that belong to them.

Previously they looked like this:
/dev/sda6 /media/win-info vfat umask=0000 00
/dev/sda7 /media/win-eu vfat umask=0000 00
/dev/sda5 /media/win-games vfat umask=0000 00

Now they look like this:
UUID=24B7-4D93 /media/win-info vfat umask=0000 00
UUID=340C-B6E8 /media/win-eu vfat umask=0000 00
UUID=B41A-41F7 /media/win-games vfat umask=0000 00

Now I can access Windows partitions.

Revision history for this message
chapper (gwdzn2) said :
#3

Have only been using UBUNTU a week now so I'm pretty dumb at the game. Is this a way to access Windows without rebooting?

Revision history for this message
Jerry Story (story-jerry) said :
#4

On 5/29/07, chapper <email address hidden> wrote:
> Your question #7359 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/7359
>
> chapper posted a new comment:
> Have only been using UBUNTU a week now so I'm pretty dumb at the game.
> Is this a way to access Windows without rebooting?

It is a way to access Windows partitions from Ubuntu. This way you can
copy files between a Windows partition and an Ubuntu partition.