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
  •  


Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW picture

Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW

$49.99



Apple Macintosh 128k Desktop computer. Upgraded to 512k picture

Apple Macintosh 128k Desktop computer. Upgraded to 512k

$300.00



1984 APPLE MACINTOSH 128K FIRST MAC Model M0001 PICASSO KIT Discs Harvard Rare picture

1984 APPLE MACINTOSH 128K FIRST MAC Model M0001 PICASSO KIT Discs Harvard Rare

$1800.00



1984 APPLE MACINTOSH 128K MATCHING # BOX Set Original Mac Model M0001 WORKS RARE picture

1984 APPLE MACINTOSH 128K MATCHING # BOX Set Original Mac Model M0001 WORKS RARE

$6299.00



Vintage Apple Macintosh 128K 512K Carrying Case Rainbow Logo Excellent Cond picture

Vintage Apple Macintosh 128K 512K Carrying Case Rainbow Logo Excellent Cond

$140.00



Apple Keyboard and Cable for Macintosh 128k 512k Mac Plus RARE Vintage M0110 picture

Apple Keyboard and Cable for Macintosh 128k 512k Mac Plus RARE Vintage M0110

$129.99



Vintage Early Week 12 1984 Apple Macintosh 128K Computer M0001 w/Analog Board+ picture

Vintage Early Week 12 1984 Apple Macintosh 128K Computer M0001 w/Analog Board+

$209.99



Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW picture

Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW

$59.99



Apple Keyboard for Macintosh 128k 512k Mac Plus RARE Vintage M0110 (010) picture

Apple Keyboard for Macintosh 128k 512k Mac Plus RARE Vintage M0110 (010)

$149.00



Apple Macintosh Mac 128k - 512k Boot / Diagnostics 2 Disk Set for Classic Macs picture

Apple Macintosh Mac 128k - 512k Boot / Diagnostics 2 Disk Set for Classic Macs

$14.99