Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: changing /home directory to another partition

  1. #11
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Quote Originally Posted by radnor
    Quote Originally Posted by mr_ed
    Still having these problems? Do you get error messages when you edit /etc/fstab?

    -- Ed

    Mr. Ed,

    I can get around the editing problem of the FSTAB file. My problem is ... when I reboot, knoppix REBUILDS the file removing my changes. This is a PIA!

    Radnor
    I found myself having these problem in a HD install of 3.6 until I put my entry before the "made by knoppix" line:

    like this:

    # /etc/fstab: filesystem table.
    #
    # filesystem mountpoint type options dump pass
    /dev/hdc1 / ext3 defaults,errors=remount-ro 0 1

    proc /proc proc defaults 0 0
    /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
    /dev/hdc3 /home ext3 auto,exec 0 0
    /dev/hda /mnt/mp3 ext3 auto 0 0
    # Added by KNOPPIX
    /dev/hdc2 none swap defaults 0 0
    # Added by KNOPPIX
    /dev/hdd1 /mnt/hdd1 ext2 noauto,users,exec 0 0
    # Added by KNOPPIX
    /dev/hdd2 none swap defaults 0 0
    # Added by KNOPPIX
    /dev/hdd3 /mnt/hdd3 ext3 noauto,users,exec 0 0

    If you're going to do this and a "mount -a" you need to # out the entry made by Knoppix.

    My understanding is that the /etc/fstab entries will be re-written by Knoppix if it doesn't find an entry before the # Added by KNOPPIX.

  2. #12
    Junior Member registered user
    Join Date
    Mar 2005
    Posts
    26
    This is just a thought, but would saving your configuration possibly save changes to the fstab file. I have seemed to have success by editing my fstab onn a PMI install so that I could make my hda2 partition vfat wriiteable on bootup. I'm not sure whether it was from saving my confiiguration or because the persisitent home is located on that partition. In either case, that is something we might try (saving the configuration files, that is).

    James

    To save config files, you click on the penguin in the taskbar, then I think its 'CONFIIGURE' and there should be a save entry.

  3. #13
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    The process spelled out by Rumo is what Kyle Rankin describes in his book Knoppix Hacks and how I share /home between various Linuxes and BSDs. (For adding distros after the first, though, you only copy over what's new so that you don't clobber what's already there.)

    As McGyver points out, you can boot straight into your installation as root so long as you haven't changed root's home directory to /home. Be sure not to su or sudo into root, though, because then you'll still be in /home.

    Knoppix in fact rebuilds /etc/fstab on every boot - you can see this in /etc/init.d/knoppix-autoconfig and in the blue and yellow message it generates at boot time saying, "Scanning for Harddisk partitions and creating /etc/fstab..."

    Klaus Knopper designed Knoppix to be a replacement for a laptop - he wanted a portable work environment that he could run wherever he was, just by sticking a CD into whatever computer was nearby.

    From that point of view, rebuilding /etc/fstab each time is absolutely necessary. Once Knoppix is installed to a hard drive, though, it becomes more of a bug than a feature.

    To disable it, you can include the boot parameter (cheatcode) nofstab along with lang=us or vga=791 or whatever else you use at startup.

    -- Ed

  4. #14
    Junior Member registered user
    Join Date
    Mar 2005
    Posts
    27
    moved to it's own question ...

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Persistent Home Directory
    By jm47048 in forum General Support
    Replies: 0
    Last Post: 01-24-2006, 11:59 PM
  2. Replies: 1
    Last Post: 05-21-2005, 11:50 AM
  3. Persistent home directory
    By Geof in forum General Support
    Replies: 1
    Last Post: 01-18-2005, 03:55 PM
  4. home - directory on hdd
    By DieselDriver in forum General Support
    Replies: 1
    Last Post: 12-27-2004, 03:20 AM
  5. Moving my home directory to another partition?
    By stukennedyuk in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 02-13-2004, 02:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN

$115.00



Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026 picture

Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026

$12.99



1U Rackmount PC Intel Core i5-2520M 8GB RAM 500GB HDD Ubuntu Linux Server picture

1U Rackmount PC Intel Core i5-2520M 8GB RAM 500GB HDD Ubuntu Linux Server

$109.99



All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive picture

All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive

$15.95



OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 512GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 512GB SSD 8x NIC QAT AES VPN

$128.00



Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU picture

Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU

$649.00



ESET Server Security (File Security) | Variant Item | Download Version picture

ESET Server Security (File Security) | Variant Item | Download Version

$136.15



Microsoft SQL Server 2022 Standard 24 Core unlimited CAL Retail License Package picture

Microsoft SQL Server 2022 Standard 24 Core unlimited CAL Retail License Package

$199.00



Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay picture

Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay

$500.00



SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA picture

SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA

$284.99