-
Moving/home to a separate partition.
Got a new laptop recently and have formatted the 500 GB hard drive as follows: sda1: 2GB Swap. sda2: 16gb, reiserFS, installed Knoppix on it. sda3 the rest, also reiserFs. One feature I missfrom Vanilla Debian was how easy it was to set-up separate root and home partitions, and while simply having sda3 allows me to actually use my internal hardd rive for media storage without needless bloating partimage back-ups of my knoppix install, I would like the seamlessness of making sda3 my home partition. Anyone know how I would go about moving /home over to sda3 and having it automount at /home everytime I boot?
-
Okay, did some research and best I can tell, all I should need to do is move the contents of /home to /dev/sda3 and add an appropriate line in /etc/fstab for /dev/sda3. I've done this, and it mostly works, except with one hang-up: /dev/sda3 isn't mounting automatically at boot. Upon a fresh boot, /home is empty and the terminal acts like / is my home directory(it even links ~ to /). Running sudo mount -a mounts /dev/sda3 at /home and after exiting to the Adriane menu and returning to the shell, everything works just fine. here is the relevant line from my /etc/fstab: /dev/sda3 /home reiserfs defaults,auto 0 0 My fstab otherwise remains unaltered from the knoppix default. Any ideas as to what's wrong?
-
Senior Member
registered user
Hi Jeffery Mewtamer,
at the end of configuring Knoppix the commands inside the file /mnt-system/$knoppix_dir/knoppix.sh are executed if it exists.
If you have got an HDD install of Knoppix the directory /mnt-system does not exist. You could simulate its existence by creating a link to your root directory on /dev/sda2.
Code:
cd /
sudo ln -s . mnt-system
Then you could create a file /KNOPPIX/knoppix.sh containing the command
Code:
mount -t reiserfs /dev/sda3 /home
After reboot the home directory of the user knoppix should be in the right place.
Regards.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![OEM Dell 130W HA130PM130 DA130PM130 Laptop Power Adapter Charger 4.5mm 6TTY6 XPS picture](/store/img/g/sOYAAOSwTyZmRw~n/s-l225/OEM-Dell-130W-HA130PM130-DA130PM130-Laptop-Power-A.jpg)
OEM Dell 130W HA130PM130 DA130PM130 Laptop Power Adapter Charger 4.5mm 6TTY6 XPS
$26.99
![LOT - 59 OEM Dell AC Adapters HA65NM130 LA65NM130 LA90PM130 LA90PM170++ *TESTED* picture](/store/img/g/8y4AAOSwi21mc3ar/s-l225/LOT-59-OEM-Dell-AC-Adapters-HA65NM130-LA65NM130-LA.jpg)
LOT - 59 OEM Dell AC Adapters HA65NM130 LA65NM130 LA90PM130 LA90PM170++ *TESTED*
$385.00
![OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170 picture](/store/img/g/uYkAAOSw~FRl68o6/s-l225/OEM-130W-USB-C-Type-C-Charger-for-Dell-XPS-15-9500.jpg)
OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170
$34.88
![Dell OEM Original Latitude 5400 Chromebook Laptop Battery, 4-Cell 68Wh, 3HWPP picture](/store/img/g/cUYAAOSwhAxmMQa8/s-l225/Dell-OEM-Original-Latitude-5400-Chromebook-Laptop-.jpg)
Dell OEM Original Latitude 5400 Chromebook Laptop Battery, 4-Cell 68Wh, 3HWPP
$43.99
![Genuine OEM Dell 130W AC Adapter Charger Brick Large Tip 19.5V 6.7A picture](/store/img/g/nx8AAOSwEblmZPEY/s-l225/Genuine-OEM-Dell-130W-AC-Adapter-Charger-Brick-Lar.jpg)
Genuine OEM Dell 130W AC Adapter Charger Brick Large Tip 19.5V 6.7A
$4.97
![OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip picture](/store/img/g/OLgAAOSwbE9kL5IU/s-l225/OEM-Dell-Inspiron-11-13-14-15-17-3000-5000-7000-AC.jpg)
OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip
$10.99
![OEM Dell 90W AC Adapter Charger OptiPlex 3040 7040 3060 7050 3070 3020 9020M picture](/store/img/g/OY4AAOSw7DlkLz~K/s-l225/OEM-Dell-90W-AC-Adapter-Charger-OptiPlex-3040-7040.jpg)
OEM Dell 90W AC Adapter Charger OptiPlex 3040 7040 3060 7050 3070 3020 9020M
$14.69
![OEM 45W AC Adapter Charger for Dell Inspiron 15 3551 5555 5558 5559 7558 + Cable picture](/store/img/g/DMAAAOSwbW9kbIXs/s-l225/OEM-45W-AC-Adapter-Charger-for-Dell-Inspiron-15-35.jpg)
OEM 45W AC Adapter Charger for Dell Inspiron 15 3551 5555 5558 5559 7558 + Cable
$12.69
![Genuine 45W Power Adapter Charger for Dell DA45NM140 0KXTTW 4.5*3.0mm OEM picture](/store/img/g/g7sAAOSwWfplWxzD/s-l225/Genuine-45W-Power-Adapter-Charger-for-Dell-DA45NM1.jpg)
Genuine 45W Power Adapter Charger for Dell DA45NM140 0KXTTW 4.5*3.0mm OEM
$16.99
![Lot of 10 Genuine Dell C9HYX AC Adapter Charger 90W LA90PM130 OEM w/ Power Cable picture](/store/img/g/lWoAAOSwtgxdwJfN/s-l225/Lot-of-10-Genuine-Dell-C9HYX-AC-Adapter-Charger-90.jpg)
Lot of 10 Genuine Dell C9HYX AC Adapter Charger 90W LA90PM130 OEM w/ Power Cable
$109.99