Author Topic: <Fixed-Thank you everyone>Adding Partition to fstab  (Read 2122 times)

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
<Fixed-Thank you everyone>Adding Partition to fstab
« on: December 15, 2010, 06:33:53 PM »
I am trying to add an old home home partition to my fstab. This started in http://www.pclinuxos.com/forum/index.php/topic,84271.0.html. The partition I need to add is /dev/sda6 but I have been staring at my fstab and the information below but am not quite sure what to use. Do I just use the complete UUID? I'm currently running  on Live CD. Can I do it from here? How?


Quote
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3263    26210016   83  Linux
/dev/sda2            3264       19457   130078305    5  Extended
/dev/sda5            3264        5835    20659558+  82  Linux swap / Solaris
/dev/sda6            9259       19457    81923436   83  Linux
/dev/sda7            5836        7789    15695473+  83  Linux
/dev/sda8            7790        9241    11663158+  83  Linux


[root@localhost roj]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 10b0574a-68b8-4db9-944c-dec2acd94234 -> ../../sda6
lrwxrwxrwx 1 root root 10 2010-12-15 11:11 383c46e3-6e5e-470b-b868-b214fb74a990 -> ../../ram0
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 565c5028-8577-45e7-ac4c-8b5a4aa6c929 -> ../../sda7
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 5a8a67dd-cb38-47f0-af45-2a8ed68c2a21 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 87e98540-06e9-4deb-9c38-e578d643f139 -> ../../sda8
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 ce5c8e16-d689-4702-b8bf-5241d45c3b7e -> ../../sda5
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 f2dce048-1e83-4037-8676-777bfa33a47f -> ../../sda1

« Last Edit: December 16, 2010, 05:11:14 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline melodie

  • Hero Member
  • *****
  • Posts: 5946
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: Adding Partition to fstab
« Reply #1 on: December 15, 2010, 07:04:26 PM »
melodie at #lpic-fr on irc.freenode.net

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Adding Partition to fstab
« Reply #2 on: December 15, 2010, 07:26:08 PM »
I am trying to add an old home home partition to my fstab. This started in http://www.pclinuxos.com/forum/index.php/topic,84271.0.html. The partition I need to add is /dev/sda6 but I have been staring at my fstab and the information below but am not quite sure what to use. Do I just use the complete UUID? I'm currently running  on Live CD. Can I do it from here? How?


Quote
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3263    26210016   83  Linux
/dev/sda2            3264       19457   130078305    5  Extended
/dev/sda5            3264        5835    20659558+  82  Linux swap / Solaris
/dev/sda6            9259       19457    81923436   83  Linux
/dev/sda7            5836        7789    15695473+  83  Linux
/dev/sda8            7790        9241    11663158+  83  Linux


[root@localhost roj]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 10b0574a-68b8-4db9-944c-dec2acd94234 -> ../../sda6
lrwxrwxrwx 1 root root 10 2010-12-15 11:11 383c46e3-6e5e-470b-b868-b214fb74a990 -> ../../ram0
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 565c5028-8577-45e7-ac4c-8b5a4aa6c929 -> ../../sda7
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 5a8a67dd-cb38-47f0-af45-2a8ed68c2a21 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 87e98540-06e9-4deb-9c38-e578d643f139 -> ../../sda8
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 ce5c8e16-d689-4702-b8bf-5241d45c3b7e -> ../../sda5
lrwxrwxrwx 1 root root 10 2010-12-15 11:12 f2dce048-1e83-4037-8676-777bfa33a47f -> ../../sda1




I label my partitions, then use the label names in my /etc/fstab, in this manner;

Code: [Select]
# Entry for /dev/sdc14 :
LABEL=minime2010        /                       ext4    defaults,noatime                1 1
LABEL=TR5-Documents     /home/polack/Documents  ext3    rw,user,noauto,exec,noatime     0 0
LABEL=Documents2        /home/polack/Documents2 ext3    rw,user,noauto,exec,noatime     0 0
LABEL=share1            /share1                 ext4    rw,user,noauto,exec,noatime     0 0
#LABEL=share7           /share7                 ext3    rw,user,noauto,exec,noatime     0 0
LABEL=share9            /share9                 ext3    rw,user,auto,exec,noatime       0 0
LABEL=movies            /movies                 ext3    rw,user,auto,exec,noatime       0 0
LABEL=movies2           /movies2                ext3    rw,user,auto,exec,noatime       0 0
#LABEL=TV-1             /tv                     ext3    rw,user,noauto,exec,noatime     0 0
LABEL=storage00         /zstorage00             ext3    rw,user,noauto,exec,noatime     0 0
LABEL=120backup         /zbackup                ext3    rw,user,noauto,exec,noatime     0 0
LABEL=boot200           /mnt/boot               ext3    rw,user,noauto,exec,noatime     0 0
none                    /proc                   proc    defaults                        0 0
# Entry for /dev/sda2 :
#LABEL=swap200          swap                    swap    sw,pri=3                        0 0
# Entry for /dev/sdb2
#LABEL=swap160          swap                    swap    sw,pri=3                        0 0
# Entry for /dev/sdc2 :
LABEL=swap1000          swap                    swap    sw,pri=3                        0 0
# Entry for /dev/sde2 :
LABEL=swap750           swap                    swap    sw,pri=3                        0 0
none                    /dev/pts                devpts  mode=0620                       0 0
/dev/fd0                /mnt/floppy             auto    rw,user,noauto,exec             0 0
/dev/sr0                /mnt/cdrom              auto    ro,user,noauto                  0 0
/dev/sr1                /mnt/dvd                auto    ro,user,noauto                  0 0
# none                  /dev/shm                tmpfs   defaults                        0 0


Note that four entries are currently commented out, as this is the system I recently moved from the other computer, so those partitions are not currently available. When I move the drive back to the other computer, I'll uncomment those entries.

My results from the blkid command show the partitions currently available.

[root@fatman ~]# blkid
Code: [Select]
/dev/sda1: LABEL="boot1000" UUID="10165aee-8b41-4c52-aa7e-c6b0d6d17eeb" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda2: LABEL="swap1000" UUID="8b44f813-fd45-4f94-b519-28300b4791ad" TYPE="swap"
/dev/sda3: LABEL="TR5" UUID="6ae6cf37-7fd2-4b9c-86dc-f037141745bb" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: LABEL="TR5-Documents" UUID="9c1bbdf4-5f3c-4d70-b03a-983504da6c15" TYPE="ext3" SEC_TYPE="ext2"
/dev/sdb1: LABEL="750boot" UUID="985efd35-13a4-4279-8129-0f9552d95ccb" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb2: LABEL="swap750" UUID="0ccd09b0-ebb4-4f78-8c73-632232adf438" TYPE="swap"
/dev/sdb3: LABEL="750pclos" UUID="ace4498d-cd4b-458b-9b0c-853c0679fe70" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb5: LABEL="Documents2" UUID="d9550e51-e2e6-4b48-b382-d491ab0bc1ea" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb6: LABEL="share9" UUID="3abe7220-57d1-40c8-acb3-b8d13585577f" TYPE="ext3" SEC_TYPE="ext2"
/dev/sdb7: LABEL="Documents" UUID="6c984560-d3bc-4ea9-b2ad-62586c662bcf" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda14: LABEL="minime2010" UUID="ab32e99a-5bb8-4360-b75d-e13df5412608" TYPE="ext4"
/dev/sdb8: LABEL="750mm" UUID="b512d57e-3c7a-4226-96ea-98ba93d5d486" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb9: LABEL="movies" UUID="90ae3f6a-46b2-485a-886d-e4c203491907" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb10: LABEL="120backup" UUID="3dff9abc-88c0-47dc-bd2c-f3f991acab69" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb11: LABEL="storage00" UUID="f0320f20-48d5-4ddb-89ed-9da4676aefa4" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: LABEL="tmpback" UUID="dcf02721-aca8-494f-8182-cc8ab1df8430" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda7: LABEL="TR6" UUID="36feb97d-2f61-4709-b6f5-8e8d8fee3370" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda8: LABEL="fullmonty" UUID="872d45ed-de83-4e97-88a8-a4c9e48b96c2" TYPE="ext4"
/dev/sda9: LABEL="mmbuild" UUID="003077db-2988-4dcf-9baa-58e1798a4a85" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda10: LABEL="st-backup" UUID="7b1f293e-8deb-49de-adbf-db9173fd2599" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda11: LABEL="os-backups" UUID="3d1692bb-afe0-4648-b5be-d30f1eca32e7" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda12: LABEL="movies2" UUID="fad35a11-5738-401e-88b6-56b78dfeb15a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda13: LABEL="openbox" UUID="98eedd96-8d4a-4098-aa53-c57f0333ed89" TYPE="ext4"
/dev/sda15: LABEL="kde2010" UUID="f5b15060-9731-4dd8-9250-3d347b883295" TYPE="ext4"
/dev/sda16: LABEL="share1" UUID="89c5580c-24ee-43b0-97cb-a3a5d17f94e4" TYPE="ext4"

Note that each label must be unique, just as are the UUID numbers.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Adding Partition to fstab
« Reply #3 on: December 15, 2010, 08:40:04 PM »
Melodie thank you for trying but the fstab in your link looks nothing like the one created by PCLOS so it just doesn't help. Old-polack tha same with your example. Nothing like what I have and I don't know how to use what you are telling me to make an entry in my fstab.

My fstab looks like this:
Quote
# Entry for /dev/sda1 :
UUID=f2dce048-1e83-4037-8676-777bfa33a47f / ext2 defaults 1 1
none /proc proc defaults 0 0
# Entry for /dev/sda8 :
UUID=87e98540-06e9-4deb-9c38-e578d643f139 /tmp ext2 defaults 1 2
# Entry for /dev/sda7 :
UUID=565c5028-8577-45e7-ac4c-8b5a4aa6c929 /usr ext2 defaults 1 2
# Entry for /dev/sda5 :
UUID=ce5c8e16-d689-4702-b8bf-5241d45c3b7e swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
/dev/sda6
What I need to know is what part of the info from the UUID list I got I use in fstab. The line in question is: "lrwxrwxrwx 1 root root 10 2010-12-15 11:12 10b0574a-68b8-4db9-944c-dec2acd94234 -> ../../sda6" To me it looks nothing like what I have. is it "10b0574a-68b8-4db9-944c-dec2acd94234" or is it "10b0574a-68b8-4db9-944c-dec2acd94234 /home/ray ext3" What would the defaults be.

Thank you.
« Last Edit: December 15, 2010, 08:46:34 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Adding Partition to fstab
« Reply #4 on: December 15, 2010, 09:11:28 PM »
Melodie thank you for trying but the fstab in your link looks nothing like the one created by PCLOS so it just doesn't help. Old-polack tha same with your example. Nothing like what I have and I don't know how to use what you are telling me to make an entry in my fstab.

My fstab looks like this:
Quote
# Entry for /dev/sda1 :
UUID=f2dce048-1e83-4037-8676-777bfa33a47f / ext2 defaults 1 1
none /proc proc defaults 0 0
# Entry for /dev/sda8 :
UUID=87e98540-06e9-4deb-9c38-e578d643f139 /tmp ext2 defaults 1 2
# Entry for /dev/sda7 :
UUID=565c5028-8577-45e7-ac4c-8b5a4aa6c929 /usr ext2 defaults 1 2
# Entry for /dev/sda5 :
UUID=ce5c8e16-d689-4702-b8bf-5241d45c3b7e swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
/dev/sda6
What I need to know is what part of the info from the UUID list I got I use in fstab. The line in question is: "lrwxrwxrwx 1 root root 10 2010-12-15 11:12 10b0574a-68b8-4db9-944c-dec2acd94234 -> ../../sda6" To me it looks nothing like what I have. is it "10b0574a-68b8-4db9-944c-dec2acd94234" or is it "10b0574a-68b8-4db9-944c-dec2acd94234 /home/ray ext3" What would the defaults be.

Thank you.


If you are going to use the UUID in the /etc/fstab, the most appropriate line would be;

UUID=10b0574a-68b8-4db9-944c-dec2acd94234   /home   ext3   defaults    1 2
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Adding Partition to fstab
« Reply #5 on: December 15, 2010, 09:15:20 PM »
Thank you. I will try that. I understand you don't use UUIds but I didn't want to have to rewrite the fstab or can you mix the way you identify partitions?
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6475
  • I'm going South
Re: Adding Partition to fstab
« Reply #6 on: December 15, 2010, 09:31:02 PM »
Melodie thank you for trying but the fstab in your link looks nothing like the one created by PCLOS so it just doesn't help. Old-polack tha same with your example. Nothing like what I have and I don't know how to use what you are telling me to make an entry in my fstab.

My fstab looks like this:
Quote
# Entry for /dev/sda1 :
UUID=f2dce048-1e83-4037-8676-777bfa33a47f / ext2 defaults 1 1
none /proc proc defaults 0 0
# Entry for /dev/sda8 :
UUID=87e98540-06e9-4deb-9c38-e578d643f139 /tmp ext2 defaults 1 2
# Entry for /dev/sda7 :
UUID=565c5028-8577-45e7-ac4c-8b5a4aa6c929 /usr ext2 defaults 1 2
# Entry for /dev/sda5 :
UUID=ce5c8e16-d689-4702-b8bf-5241d45c3b7e swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
/dev/sda6
What I need to know is what part of the info from the UUID list I got I use in fstab. The line in question is: "lrwxrwxrwx 1 root root 10 2010-12-15 11:12 10b0574a-68b8-4db9-944c-dec2acd94234 -> ../../sda6" To me it looks nothing like what I have. is it "10b0574a-68b8-4db9-944c-dec2acd94234" or is it "10b0574a-68b8-4db9-944c-dec2acd94234 /home/ray ext3" What would the defaults be.

Thank you.



In the first field in a line in /etc/fstab you specify the device you want to mount. You can do so in three different ways. You can simply use:

/dev/sda6

or you can use the UUID number:

UUID=10b0574a-68b8-4db9-944c-dec2acd94234

or, if you've given the partition a label you could use

LABEL=<the-label-you-gave-it>

All three alternatives work equally well, but /dev/sda6 may change if you move, add or remove partitions, while the UUID number remains the same unless you reformat the partition. The most practical alternative is the third one: labelling the partition and using the label.



The second field in an fstab line specifies where the above device should be mounted, its mountpoint. The mountpoint is an ordinary (preferably empty) directory but it must exist, so you have to create it if it doesn't. If you mount your partition on /home it will of course replace your present /home, but it won't empty it. All the data in your present /home directory will remain on your drive, but it will become invisible.

The third field specifies the filesystem on the partition.

The fourth field gives options for how and by whom the partition can be mounted. To start with you can use the single word "defaults" here. Then you can post back and tell us more about how you want it to be mounted.

The fifth field is only important for certain kinds of backups and the sixth field should be 1 for your root partition, 2 for other partitions that you periodically want to run fsck on at boot, and 0 for partitions that you don't want to be checked automatically.

Edit: Old-Polack was of course faster but I posted anyway as I think I added some possibly interesting details.
« Last Edit: December 15, 2010, 09:47:19 PM by Bald Brick »
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

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Adding Partition to fstab
« Reply #7 on: December 15, 2010, 09:37:31 PM »
Thank you. I will try that. I understand you don't use UUIds but I didn't want to have to rewrite the fstab or can you mix the way you identify partitions?

Yes, you can mix the type of ID used for the partitions in /etc/fstab. UUID and labels, being unique and stored within the partition formatting are the most accurate, but you can also use /dev/sda6 as the first field. The problem with device designations is that they are subject to change when things like USB hard drives or sticks are inserted. The only problem with labels is that you need to create them before you can use them. UUID numbers are created automatically, but are clumsy in size, not easily remembered, and give no clue as to the contents of the partition.

You can create partition labels, as root, using the command;

[root@localhost ~]# tune2fs -L <label name> /dev/<whatever>                        <Enter>

More specifically, you could use;

[root@localhost ~]# tune2fs -L home /dev/sda6                        <Enter>

Then in your /etc/fstab the line;

LABEL=home   /home   ext3   defaults   1 2

Would be the equal of;

UUID=10b0574a-68b8-4db9-944c-dec2acd94234   /home   ext3   defaults    1 2

or

/dev/sda6   /home   ext3   defaults    1 2
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Adding Partition to fstab
« Reply #8 on: December 15, 2010, 10:12:50 PM »
Before coming here I tried /dev/sda6  but it didn't work. Now I have tried UUID and it didn't work.
Quote
You can create partition labels, as root, using the command;

[root@localhost ~]# tune2fs -L <label name> /dev/<whatever>                        <Enter>
More specifically, you could use ....
Will try that next thanks.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6475
  • I'm going South
Re: Adding Partition to fstab
« Reply #9 on: December 15, 2010, 10:43:03 PM »
Before coming here I tried /dev/sda6  but it didn't work. Now I have tried UUID and it didn't work.
Quote
You can create partition labels, as root, using the command;

[root@localhost ~]# tune2fs -L <label name> /dev/<whatever>                        <Enter>
More specifically, you could use ....
Will try that next thanks.

Precisely what did your /etc/fstab look like when it "didn't work"? Both the /dev/sdXY format and the UUID format will work if they specify the correct device and if there's nothing wrong with the rest of the line. And if there is, using a label won't help.
« Last Edit: December 15, 2010, 10:45:02 PM by Bald Brick »
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

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Adding Partition to fstab
« Reply #10 on: December 15, 2010, 10:48:48 PM »
Ray2047:

To add to what Bald Brick asked for, what error messages did you get; exact wording?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Adding Partition to fstab
« Reply #11 on: December 15, 2010, 10:57:30 PM »
Ray2047:

To add to what Bald Brick asked for, what error messages did you get; exact wording?
No error messages. I'm simply not being offered the opportunity to sign in to the old user when I reboot. Am I missing some step? Here is my current fstab: Note I have tried both Ext3 and Ext4
Quote
# Entry for /dev/sda1 :
UUID=f2dce048-1e83-4037-8676-777bfa33a47f / ext2 defaults 1 1
none /proc proc defaults 0 0
# Entry for /dev/sda8 :
UUID=87e98540-06e9-4deb-9c38-e578d643f139 /tmp ext2 defaults 1 2
# Entry for /dev/sda7 :
UUID=565c5028-8577-45e7-ac4c-8b5a4aa6c929 /usr ext2 defaults 1 2
# Entry for /dev/sda5 :
UUID=ce5c8e16-d689-4702-b8bf-5241d45c3b7e swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
#Entry for /dev/sda6
UUID=10b0574a-68b8-4db9-944c-dec2acd94234 /home ext3 defaults 1 2
Last entry is the one I added.
« Last Edit: December 15, 2010, 10:59:12 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Adding Partition to fstab
« Reply #12 on: December 15, 2010, 11:02:39 PM »
Ray2047:

To add to what Bald Brick asked for, what error messages did you get; exact wording?
No error messages. I'm simply not being offered the opportunity to sign in to the old user when I reboot. Am I missing some step? Here is my current fstab: Note I have tried both Ext3 and Ext4
Quote
# Entry for /dev/sda1 :
UUID=f2dce048-1e83-4037-8676-777bfa33a47f / ext2 defaults 1 1
none /proc proc defaults 0 0
# Entry for /dev/sda8 :
UUID=87e98540-06e9-4deb-9c38-e578d643f139 /tmp ext2 defaults 1 2
# Entry for /dev/sda7 :
UUID=565c5028-8577-45e7-ac4c-8b5a4aa6c929 /usr ext2 defaults 1 2
# Entry for /dev/sda5 :
UUID=ce5c8e16-d689-4702-b8bf-5241d45c3b7e swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
#Entry for /dev/sda6
UUID=10b0574a-68b8-4db9-944c-dec2acd94234 /home ext3 defaults 1 2
Last entry is the one I added.


Rather than tell us what you are not getting, how about telling us exactly what you are getting?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Adding Partition to fstab
« Reply #13 on: December 15, 2010, 11:21:31 PM »
Quote
Rather than tell us what you are not getting, how about telling us exactly what you are getting?
I make the changes. I save the file. I close the file. I reboot the computer and at the login screen my only choices given are the user (guest) I created at install and root.

Is this related: when I try to login to guest on a blank desktop I get the error "Start up config does not exist The error code is 3" There is an "OK" at the bottom of the message box and clicking it takes me back to the login screen. I can login normally as root..
« Last Edit: December 15, 2010, 11:23:13 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Adding Partition to fstab
« Reply #14 on: December 15, 2010, 11:28:00 PM »
Quote
Rather than tell us what you are not getting, how about telling us exactly what you are getting?
I make the changes. I save the file. I close the file. I reboot the computer and at the login screen my only choices given are the user (guest) I created at install and root.

Is this related: when I try to login to guest on a blank desktop I get the error "Start up config does not exist The error code is 3" There is an "OK" at the bottom of the message box and clicking it takes me back to the login screen. I can login normally as root..

If you expect to log in as ray, the user "ray" needs to exist, not "guest". Why did you create a user named guest? Why did you not create a user named ray???  ???
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...