LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Partition Volume Visible on Other OS (https://www.linuxquestions.org/questions/slackware-14/partition-volume-visible-on-other-os-560271/)

der_11 06-08-2007 02:07 PM

Partition Volume Visible on Other OS
 
Okay, I've setup my laptop to dual boot Slackware and Xubuntu. Currently my partition table is setup like this:

hda 1Gb Swap
hda2 40Gb Linux
hda3 19Gb Linux

I'm using the Grub boot loader. When I boot into Xubuntu the 19Gb Volume appears on the Desktop. Not that it's a big deal or anything I would rather just it not be loaded into the system.

Does anyone know how to fix this?

meng 06-08-2007 02:11 PM

You can edit your /etc/fstab so that it does not automatically mount the other partition. The easiest way is to comment out the line referring to this partition by placing a # at the front.

In terminal:
sudo nano -B /etc/fstab
(ctrl-x to exit after you have made changes)

If you're not sure what to do to /etc/fstab, then please
cat /etc/fstab

and post the output here.

der_11 06-08-2007 02:56 PM

Okay here it is:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=fe1cded4-5edb-45a1-84e9-a7462b04c30e / ext2 defaults,errors=remount-ro 0 1
# /dev/sda1
UUID=ad9f9a5d-4860-4b6d-bf29-341ab99f36ce none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0

I think it might be the last line but I'm not sure.

meng 06-08-2007 03:02 PM

Okay, well it's not listed in the fstab so that makes me wonder if it's actually being mounted automatically or if the icon is just giving you an option to mount it. (Sorry, I'm not an Xfce user so I can't be sure what the icon on the desktop means; in GNOME it means the partition is mounted.) You can wait for someone who knows better, or else you can show me the output of:
df -h

der_11 06-08-2007 03:41 PM

Yeah, it's not mounted and there is an icon for it on my desktop and in thunar.

Anyways:

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 37G 2.0G 33G 6% /
varrun 248M 96K 248M 1% /var/run
varlock 248M 0 248M 0% /var/lock
procbususb 248M 96K 248M 1% /proc/bus/usb
udev 248M 96K 248M 1% /dev
devshm 248M 0 248M 0% /dev/shm
lrm 248M 33M 215M 14% /lib/modules/2.6.20-15-generic/volatile

meng 06-08-2007 04:03 PM

Okay, that output confirms that /dev/sda3 is NOT mounted. So the question now is whether you can be content to have an icon on your desktop just sitting there, or whether you need to have that icon removed (sorry, I don't know how to do that but I'm sure it's a simple matter, I assume selecting the icon and pressing delete doesn't work huh?) Any files on the unmounted partition cannot be accessed or changed unless you choose to mount the partition (well technically I guess one could format or otherwise screw up the entire partition even if it wasn't mounted, but you'd still be able to do that whether or not an icon existed on your desktop).

der_11 06-08-2007 04:42 PM

No, pressing delete doesn't work. Well, thanks for your help anyways. Hopefully someone knows how to remove it. Otherwise I guess I'll just have to live with it.


All times are GMT -5. The time now is 06:56 PM.