mounting windows

Nigel Wade nmw at ion.le.ac.uk
Tue Jun 26 16:24:53 UTC 2007


Thufir wrote:
> On Mon, 25 Jun 2007 14:28:25 -0500, Mikkel L. Ellertson wrote:
> [...]
>> mount -t ntfs-3g /dev/sda1 /mnt/sda1
> [...]
> 
> Ok, think this works :)
> 
> Now, I'd like to mount the linux partition, too :)
> 
> then, somehow convert the windows partiont to fat....
> 
> 
> [root at localhost ~]# 
> [root at localhost ~]# 
> [root at localhost ~]# cat /etc/fedora-release 
> Fedora release 7 (Moonshine)
> [root at localhost ~]# 
> [root at localhost ~]# fdisk -l
> 
> Disk /dev/sda: 80.0 GB, 80026361856 bytes
> 255 heads, 63 sectors/track, 9729 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1        1912    15358108+   7  HPFS/NTFS
> /dev/sda2            1913        1925      104422+  83  Linux
> /dev/sda3            1926        9729    62685630   8e  Linux LVM
> 
> Disk /dev/sdb: 30.7 GB, 30750031872 bytes
> 255 heads, 63 sectors/track, 3738 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *           1        1427    11462346    c  W95 FAT32 (LBA)
> /dev/sdb2            1428        1440      104422+  83  Linux
> /dev/sdb3            1441        3738    18458685   8e  Linux LVM
> 
> Disk /dev/dm-2: 17.8 GB, 17850957824 bytes
> 255 heads, 63 sectors/track, 2170 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> Disk /dev/dm-2 doesn't contain a valid partition table
> 
> Disk /dev/dm-3: 1006 MB, 1006632960 bytes
> 255 heads, 63 sectors/track, 122 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> Disk /dev/dm-3 doesn't contain a valid partition table
> [root at localhost ~]# 
> [root at localhost ~]# mount -a
> mount: /dev/sdb3 already mounted or /mnt/sdb3 busy
> mount: mount point  does not exist
> [root at localhost ~]# 
> [root at localhost ~]# mount
> /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> /dev/sda2 on /boot type ext3 (rw)
> tmpfs on /dev/shm type tmpfs (rw)
> /dev/sda1 on /mnt/sda1 type fuseblk 
> (rw,nosuid,nodev,noexec,noatime,allow_other,blksize=4096)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
> [root at localhost ~]# 
> [root at localhost ~]# cat /etc/fstab 
> LABEL=/                 /                       ext3    defaults        1 
> 1
> LABEL=/boot             /boot                   ext3    defaults        1 
> 2
> tmpfs                   /dev/shm                tmpfs   defaults        0 
> 0
> devpts                  /dev/pts                devpts  gid=5,mode=620  0 
> 0
> sysfs                   /sys                    sysfs   defaults        0 
> 0
> proc                    /proc                   proc    defaults        0 
> 0
> /dev/VolGroup00/LogVol01 swap                    swap    defaults        
> 0 0
> /dev/VolGroup01/LogVol01 swap                    swap    defaults        
> 0 0
> /dev/sda1               /mnt/sda1               ntfs-3g users,rw        0 
> 0 
> /dev/sdb3               /mnt/sdb3               ext3    users,rw        0 
> 0 
> 
> 
> 
> 
> /dev/sdb3 
> [root at localhost ~]# 
> [root at localhost ~]# ll /mnt/
> total 12
> drwxrwxrwx 1 root root 4096 2007-06-24 17:25 sda1
> drwxr-xr-x 2 root root 4096 2007-06-26 03:06 sdb3
> [root at localhost ~]# 
> [root at localhost ~]# date
> Tue Jun 26 03:09:18 PDT 2007
> [root at localhost ~]# 
> 
> 
> 
> thanks, 
> 
> 
> Thufir
> 

sdb3 is [part of] a LVM, so you don't mount /dev/sdb3. You should mount 
the logical volumes which have been created from the available disk 
partitions.

You have two LVM partitions, /dev/sda3 and /dev/sdb3. LVM will have been 
used to create one or more physical volumes from these, which will then 
have then been partitioned/allocated to logical volumes. Use pvdisplay 
and lvdisplay to see what physical and logical volumes are in existence.

Your mount table shows VolGroup00-LogVol00 as already mounted. This 
means  that there is a physical volume VolGroup00 and from that the 
logical volume LogVol00 has been created, formatted and mounted as your 
root partition.

If this is a default partitioning scheme then swap might also have been 
allocated out of VolGroup00, as LogVol01.


What do you want to do to convert the Windows partition to FAT32? I 
don't know of any way to convert it without destroying the data. If you 
want the data you'll have to back it up, then restore if after you 
convert the filesystem to FAT32.

-- 
Nigel Wade, System Administrator, Space Plasma Physics Group,
             University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw at ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555




More information about the fedora-list mailing list