You are not logged in.
Pages: 1
Greetings all,
I have an eeepc 1000 and converted to !# about a month ago and am loving it. My question is simple.
I have 3 drives all flash and 2 internal to my system and one is an ssd slot that I pretty much never remove the ssd from.
#! installed everything on the smallest,fastest drive which is /dev/sda1 and only 8 gig in size . /dev/sdb1 is the second drive (32 gig) and I can only access this as root. /dev/sdc1 is an ssd drive that I have a 16 gig ssd in and it currently is mounting under /media/disk.
I don't remember being asked about how I wanted the folder structure laid out but maybe I was not paying attention.
How can I:
1) Change the second drive (/dev/sdb1) so that I can open it as the logged in user? I do not care how this is mounted but lets say I mount it as /home2 to keep it simple.
2) Change the third drive (dev/sdc1) so that this is now /home and all mappings that currently goto home will now go to this drive?
Thanks in advance for any tips/advice you may have.
Offline
Ahoy,
my first idea would be to look at the /etc/fstab file next to the man fstab pages.
This is a system-wide, static information about/configuration of the filesystems to mount.
Here is what i have for example...
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
# /dev/sda1
UUID=25555163-0813-4edc-ae9c-96efa67a46fa / ext2 noatime,errors=remount-ro 0 1
# /dev/sdb1
UUID=a1bd8e03-64de-418c-9162-0ed291f72d24 /home ext3 noatime 0 2Manpage seams straightforward...
UUID identifies the device to be mounted
/home defines a mount point
ext3 is the type of the filesystem
..and for the option field here is a breakdown as found here:
common mount options:
auto automatically mounts at boot
noauto doesn't automatically mount at boot
owner only root or the owner of the device file can mount this file system
user allows any user to mount a file system, only root or the user who mounted
the file system can unmount it
users same as user except any user can unmount it
ro mounts the file system as read only
defaults mounts the file system with the default options
uid=x mounts the file system as user with id x (ownership)
gid=x mounts the file system as group with id x (ownership)
noexec prevents the execution of files on specified device
The root / should be the first filesystem defined-and-mounted, as all the others branch out from there...
Be sure to be prepared with a backup of original and a bootable usb, You know, just in case!
I think armed with all these You'll be able to solve it.
...selfmade-wannabee #!in' pirate. Arrr!
Offline
also make sure you actually make the directory that you want it mounted to first. To find out the uuid use the command blkid.
I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.
Offline
Many thanks for the replies, I will try some things and see how it goes. I was curious how to get the uuid, now I know 
Offline
When you change the home dir, change it manually first, via the mount command, before editing fstab.
On the new home, copy all the files to it first, including all the "hidden" files and directories (that start with a .) Some of these will be created automatically on reboot if you skip this step, but some things won't work right without some of these files.
I tried to use a home partition from an xubuntu on a new #! install and openbox complained about not having a file it needed, and apparently didn't want to create it for me, it just didn't load. I wiped the home partition on a re-install and it worked fine.
Statler-Openbox on an Acer Extensa 4420. Its good to be back.
Offline
I mounted the larger internal flash drive just fine by adding it as an entry in fstab and creating a location to mount it too. I suspect that remounting home on the external sd card will work too. Thanks all 
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.