Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Why isn't the /home directory on my hard drive?< Next Oldest | Next Newest >
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: May 26 2007,00:52 QUOTE

Here are my partitions:

   Name        Flags      Part Type  FS Type          [Label]        Size (MB)
------------------------------------------------------------------------------
   hda1        Boot        Primary   Linux ext2                          57.58
   hda3                    Primary   Linux ext2                       19847.61
   hda2                    Primary   Linux swap                         509.97

I've noticed that the /home directory is a shortcut to ramdisk.  This is the directory for root and all subordinate users.

How do I get the /home directory to be on hda3?  I'm used to saving things to the /home drive, but it's currently part of RAM rather than the hard drive.


--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 26 2007,01:46 QUOTE

Use the boot option home=hda3
This will create the directory /mnt/hda3/home/dsl if it doesn't already exist. Your home directory will still appear to be in /ramdisk/home/dsl, but that's just a symlink to /mnt/hda3/home/dsl

The home directory for root is /root, which you will need to backup if you want to keep those files persistent. Or you can create a root directory on /mnt/hda3 and symlink it to /root in the /opt/bootlocal.sh script.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: May 26 2007,03:27 QUOTE

Quote (mikshaw @ May 25 2007,21:46)
Use the boot option home=hda3
This will create the directory /mnt/hda3/home/dsl if it doesn't already exist. Your home directory will still appear to be in /ramdisk/home/dsl, but that's just a symlink to /mnt/hda3/home/dsl

The home directory for root is /root, which you will need to backup if you want to keep those files persistent. Or you can create a root directory on /mnt/hda3 and symlink it to /root in the /opt/bootlocal.sh script.

OK, you say to use the boot option "home=hda3".

But how do I implement this step?  Under the frugal hard drive installation, I don't get the splash screen that allows me to enter cheat codes by pressing F2.  I believe that I'm supposed to add the text "home=hda3" to a particular file, but which file is it, and in what directory is this file?


--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 26 2007,03:33 QUOTE

It depends on your bootloader.  Did you check the wiki for details?
Back to top
Profile PM 
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: May 26 2007,03:58 QUOTE

Quote (^thehatsrule^ @ May 25 2007,23:33)
It depends on your bootloader.  Did you check the wiki for details?

I'm using the grub bootloader, but I couldn't find the instructions on that in the Wiki.

--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
8 replies since May 26 2007,00:52 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Why isn't the /home directory on my hard drive?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code