Author Topic: mount points 2009.2  (Read 1987 times)

bligh

  • Guest
mount points 2009.2
« on: February 13, 2010, 03:51:15 PM »
In 2007 everything mounted correctly.  In 2009.2 the partitions don't mount properly.  I have a 30gb os partition, a 2gb swap partition and about 200gb data partition.   Diskfree does not show the data partition until after I open my computer  or file manager and access the partition. for some reason sda3 is listed above sda1 in file manager.  It works, but doesn't seem right. I have tried several mount points, and searched the forums, but am still confused.
Cheers

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: mount points 2009.2
« Reply #1 on: February 13, 2010, 03:55:26 PM »
The mounting that occurs at boot is controlled by the file /etc/fstab

..file systems that are mounted later are added to /etc/mtab

With both file systems mounted (able to browse them), copy and paste the contents of both files here and we will help you sort it out.  ;D


EDIT:
It might also help to post the output of the command blkid
« Last Edit: February 13, 2010, 04:02:14 PM by travisn000 »

bligh

  • Guest
Re: mount points 2009.2
« Reply #2 on: February 13, 2010, 04:24:24 PM »
These mount points are way over my head.  I have a win7 hdd in that laptop at the moment.  I tried several selections from the installation  menu on 2009.2, so far nothing has worked properly.  I am posting from a desktop with 2007, everything works properly and I am going to use it until it quits.     Thanks for the response.
Cheers
« Last Edit: February 13, 2010, 04:26:04 PM by bligh »

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6380
  • I'm going South
Re: mount points 2009.2
« Reply #3 on: February 13, 2010, 05:23:57 PM »
Bligh,

There are several ways of mounting a partition, or a device like a CD or DVD.

Traditionally most partitions that you would expect to access were given an entry in the file /etc/fstab, and that entry told the system if, when and how the partitions should be mounted. That's why Travis asked you to post the contents of /etc/fstab.

This worked very well, when the system mainly had to handle partitions on fixed disks. It was not ideal for removable media. Consequently removable media have for quite some time been handled by the HAL daemon and a number of related programs, and in newer versions of Linux HAL handles the mounting of everything that does not have an entry in /etc/fstab.

That Diskfree does not show the data partition until after you access it is to be expected. The partition hasn't got a mountpoint until HAL has mounted it, and HAL mounts it -- and creates the mountpoint -- when you access it. If you want it to be mounted at boot you have to give it an entry in /etc/fstab.

So although your system probably works quite normally, everything can easily be changed to your taste.
« Last Edit: February 13, 2010, 05:26:53 PM by blackbird »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

bligh

  • Guest
Re: mount points 2009.2
« Reply #4 on: February 13, 2010, 08:26:39 PM »
Thanks, this is the ect/fstab for 2007  where everything works properly.

none   /proc   proc   defaults   0 0
none   /dev/pts   devpts   mode=0620   0 0
none   /proc/bus/usb   usbfs   defaults   0 0

# fd: H1440
/dev/fd0   /mnt/floppy   auto   user,exec,rw,noauto   0 0

# /dev/hda1, size=30271185, type=131: Journalised FS: ext3 (primary)
/dev/hda1 / ext3 defaults 1 1

# /dev/hda2, size=2441880, type=130: Linux swap (primary)
/dev/hda2 swap swap defaults 0 0

# /dev/hda3, size=47520270, type=12: Win98 FAT32, LBA-mapped (primary)
/dev/hda3   /mnt/win_c   vfat   user,exec,rw,noauto,iocharset=utf8,umask=0   0 0

# cdrom: Hewlett-Packard CD-Writer Plus 8000
#   /dev/hdc   /mnt/cdrom   auto   user,exec,ro,noauto   0 0

# cdrom: CRD-8400B
#   /dev/hdd   /mnt/cdrom2   auto   user,exec,ro,noauto   

This is what I have right now on the laptop 2009.2


UUID=8166eefc-db4c-43cb-920f-b392455545f9 / ext3 defaults 1 1
# Entry for /dev/sda3 :
UUID=b4a66c2f-5cca-4f72-a8a5-12f2c448b919 /home ext3 defaults 1 2
none /proc proc defaults 0 0
# Entry for /dev/sda2 :
UUID=ef25da8f-868b-454a-a5d3-3244e2907e74 swap swap defaults 0 0
none /dev/pts devpts mode=0620 0 0

Cheers

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: mount points 2009.2
« Reply #5 on: February 13, 2010, 10:06:08 PM »
I will need to see the contents of /etc/mtab (different than /etc/fstab) for the installation you would like to change.. 

the key to getting the required info from /etc/mtab is to make sure that you open the data partition in a file browser so that it is mounted; once mounted /etc/mtab will contain the basic info you need to properly edit /etc/fstab so that your data partition is mounted at boot.

If all this seems overwhelming it can be done using PCC, but I personally find it easier to simply copy the pertinent info from /etc/mtab to /etc/fstab.

bligh

  • Guest
Re: mount points 2009.2
« Reply #6 on: February 14, 2010, 04:12:14 AM »
Thanks, I installed that about three times, I can re-install it if I know which selections to make on the install menu.  At this point it is a basic install.  I used a usb encl to post before.
Cheers

bligh

  • Guest
Re: mount points 2009.2
« Reply #7 on: February 14, 2010, 05:08:07 AM »
OK, here is mtab, as it is now.

/dev/sda1 / ext3 rw 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,mode=0620 0 0
/dev/sda3 /home ext3 rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
none /sys/fs/fuse/connections fusectl rw 0 0

Cheers

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: mount points 2009.2
« Reply #8 on: February 14, 2010, 09:36:04 AM »
Did you browse through your data partition before copying posting the contents of /etc/mtab ?  ..I ask because I don't see it listed ( only / and /home).

..browse the data partition in the usual manner that results in it being mounted (from the install), and then while it is still accessible, post the contents of /etc/mtab and also the output of the command blkid from a terminal.

bligh

  • Guest
Re: mount points 2009.2
« Reply #9 on: February 14, 2010, 10:05:00 AM »
This is what I have now, this doesn't work for me.  This is a new hdd there is no data, only  (guest and lost and found  in data}

/dev/sda1 / ext3 rw 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,mode=0620 0 0
/dev/sda3 /home ext3 rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
none /sys/fs/fuse/connections fusectl rw 0 0


dev/sda1: UUID="8166eefc-db4c-43cb-920f-b392455545f9" SEC_TYPE="ext2" TYPE="ext 3"
/dev/sda2: TYPE="swap" UUID="ef25da8f-868b-454a-a5d3-3244e2907e74"
/dev/sda3: UUID="b4a66c2f-5cca-4f72-a8a5-12f2c448b919" SEC_TYPE="ext2" TYPE="ext 3"

Cheers

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: mount points 2009.2
« Reply #10 on: February 14, 2010, 10:18:39 AM »
Is there still a partition that you are having difficulty getting to mount at boot, or did you remove it with a re-install attempt?

The info you posted suggest that all you have is swap, /home, and /  ...am I missing something?

bligh

  • Guest
Re: mount points 2009.2
« Reply #11 on: February 14, 2010, 10:31:17 AM »
On this laptop I only plan to have three partitions, os,  swap,  data.  I would like them all mounted at boot up.  I can easily re-install.   I only need to see the os and data partitions.
Cheers

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: mount points 2009.2
« Reply #12 on: February 14, 2010, 10:53:03 AM »
by data, do you mean /home, or do you want /home on your / partition?

bligh

  • Guest
Re: mount points 2009.2
« Reply #13 on: February 14, 2010, 11:01:48 AM »
I would like the data partition separate from the os partition so if the os partition is trashed or just re-installed the data is not lost.
Cheers

Offline jimwilk

  • Hero Member
  • *****
  • Posts: 1117
Re: mount points 2009.2
« Reply #14 on: February 14, 2010, 11:50:42 AM »
I am using 2009.2 exclusively now. My partitions are as follows:

/hda1    /                 (15 gb)
/hda5    /home       (10 gb)
/hda7    /disk          (52 gb)

That last partition contains my Thunderbird profile from way back in Xandros days. All emails are stowed there and Thunderbird writes and reads from that partition.
As far as getting PCLOS to use that partition, I went the PCC way and used Local Disks > Manage Disk Partitions. In there, I proceeded with caution, clicked on the partition and when I had selected the mount point "/disk" and mounted it, I was asked if I wanted to write the changes to /etc/fstab. I did, and was then able to use the partition. The partition also contains my Open Office files, photographs of our grandchildren etc. etc. Now there may be some who would advocate that the PCC approach as I described above is rather risky. At one stage, I toggled to Expert mode and, under Options, ticked to allow User to use the partition.

Two cautions:NEVER  click on Clear All or you will instantly wipe all partitions off the disk
Secondly, when looking at the /disk partition in PCC, never choose Format or you will lose all of your data.

I haven't described the process very clearly. This is because it is sometime since I did it. I don't want to undo what I have done so I haven't gone back too deeply.


If I do a fresh install, I make sure that /hda7 is left untouched. In fact, it has been used with  Xandros, PCLinuxOS 0.93, PCLinuxOS 2007, about five versions of Klikit-Linux, and finally, it is in use with PCLinuxOS 2009.2.

There will be wiser heads than mine who might be able to point you to a safe approach via PCC. There maybe even a wiki on the subject.

Good luck.

Jim
« Last Edit: February 14, 2010, 01:38:50 PM by jimwilk »
PCLinuxOS 2013.01 KDE (2 desktop computers)
PCLinuxOS  2013.04 KDE on Asus  laptop


Windows free since 2005
Our house has windows: our computers have no Windoze!
Registered Linux User #409991