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
  •  


Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR picture

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR

$23.00



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



Intel Core i7-14700KF 20-Core 3.4GHz LGA1700 33MB Cache CPU SRN3Y picture

Intel Core i7-14700KF 20-Core 3.4GHz LGA1700 33MB Cache CPU SRN3Y

$310.00



AMD Ryzen 5 5500 Processor ( read Description) picture

AMD Ryzen 5 5500 Processor ( read Description)

$59.00



Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$67.99



Intel Core Ultra 7 265K 3.9GHz LGA 1851 Processor  picture

Intel Core Ultra 7 265K 3.9GHz LGA 1851 Processor

$249.99



PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU picture

PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU

$15.99