Re: mounted partitions won't stay mounted
- From: "kroger@xxxxxxxxxxxxx" <kroger@xxxxxxxxxxxxx>
- Date: 16 Jul 2006 21:22:27 -0700
Unruh wrote:
"kroger@xxxxxxxxxxxxx" <kroger@xxxxxxxxxxxxx> writes:
Hi all. We run a dual boot Suse 10.0 / WinXP machine. It has two
drives, one with the OSs and a couple partitions, and the other with
six partitions. I created these 32 gig fat32 partitions to hold data
accessible from either windows or linux. I mounted them under the
/windows/ directory, which exists as a result of being dual boot. This
has worked well on several dual boot machines for a few years.
fdisk shows:
--------------------------------------------------------------------------------
Command (m for help): p
Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 4138 33238453+ c W95 FAT32 (LBA)
/dev/sdb2 4139 24792 165903255 f W95 Ext'd (LBA)
/dev/sdb5 4139 8276 33238453+ b W95 FAT32
/dev/sdb6 8277 12414 33238453+ b W95 FAT32
/dev/sdb7 12415 16552 33238453+ b W95 FAT32
/dev/sdb8 16553 20690 33238453+ b W95 FAT32
/dev/sdb9 20691 24792 32949283+ b W95 FAT32
--------------------------------------------------------------------------------
Now on one machine, when I mount the partitions, I can then see them.
mount /dev/sdb1 /windows/G
mount /dev/sdb5 /windows/H
mount /dev/sdb6 /windows/I
mount /dev/sdb7 /windows/J
mount /dev/sdb8 /windows/K
mount /dev/sdb9 /windows/L
ls L shows the contents of that partition and all is well.
If I log out and reboot the machine, the partitions are no longer seen.
ls L shows:
. ..
Why are the partition mountings not surviving a reboot and relogin?
We are not running XP between boots.
How do we know? However one suggestions-- you have not put them into
/etc/fstab properly to tell the system to remount them on bootup. Unless it
is written down in an appropriate place your computer does ot remember what
the situation was last time it was booted up.
Show us the content of /etc/fstab.
(Or set it up yourself
/dev/sdb1 /windows/G vfat rw,user 0 0
etc
It looks like you are right:
jim@eeganlyzsaturn:/etc> cat fstab
/dev/sda6 / reiserfs acl,user_xattr
1 1
/dev/sda1 /windows/C ntfs
ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5 /windows/D ntfs
ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda8 /windows/E vfat
users,gid=users,umask=0002,utf8=true 0 0
/dev/sda9 /windows/F vfat
users,gid=users,umask=0002,utf8=true 0 0
/dev/sda7 swap swap defaults
0 0
proc /proc proc defaults
0 0
sysfs /sys sysfs noauto
0 0
usbfs /proc/bus/usb usbfs noauto
0 0
devpts /dev/pts devpts mode=0620,gid=5
0 0
/dev/dvdrecorder /media/dvdrecorder subfs
noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
none /subdomain subdomainfs noauto 0 0
jim@eeganlyzsaturn:/etc>
Thanks. I note the entries in mine
(users,gid=users,umask=0002,utf8=true 0 0) are different from yours:
vfat rw,user 0 0
Does this matter?
Thanks
Jim
.
- Follow-Ups:
- Re: mounted partitions won't stay mounted
- From: Unruh
- Re: mounted partitions won't stay mounted
- References:
- mounted partitions won't stay mounted
- From: kroger@xxxxxxxxxxxxx
- Re: mounted partitions won't stay mounted
- From: Unruh
- mounted partitions won't stay mounted
- Prev by Date: Re: How to check directory size?
- Next by Date: Installing a RPM to a particular Directory
- Previous by thread: Re: mounted partitions won't stay mounted
- Next by thread: Re: mounted partitions won't stay mounted
- Index(es):
Relevant Pages
|