Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > How do I get /dev/hda3 to be my /home directory?

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-28-2007   #1 (permalink)
Just Joined!
 
ironduke's Avatar
 
Join Date: Sep 2006
Location: Brisbane Queensland Australia
Posts: 78
How do I get /dev/hda3 to be my /home directory?

hi all,
I installed from the knoppix 5.1.1 live CD using knoppix-installer but it didn't give me any choices about where I want partitions mounted.

How can I make the new system (which now calls itself Debian) mount my third partition /dev/hda3 as /home?
ironduke is offline  


Reply With Quote
Old 04-28-2007   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
create a mount_point (folder) in your home_folder. check the contents of /etc/fstab file.
if fstab has an entry of /dev/hda3, replace mount_point with the path of folder that you have created in /home/<user_name>.
if it hasn't, add mount code for /dev/hda3.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 04-28-2007   #3 (permalink)
Banned
 
CodeRoot's Avatar
 
Join Date: Sep 2005
Posts: 567
ironduke, I think devils_casper may have mis-understood the intent of your question. None-the-less, if you will post the contents of '/etc/fstab' , we can look at it and perhaps see what your next step should be...
__________________
* Linux 101 * Linux 102 * Computer 101 * Software 101 *
-
-
Remember: amateurs built the ark... professionals built the Titanic
CodeRoot is offline   Reply With Quote
Old 04-28-2007   #4 (permalink)
Just Joined!
 
ironduke's Avatar
 
Join Date: Sep 2006
Location: Brisbane Queensland Australia
Posts: 78
robert@pyllvier:~$ cat /etc/fstab
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda2 / 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
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /media/cdrom1 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/dvd /media/dvd iso9660 defaults,ro,users,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda3 /home ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hdc /media/hdc auto ro,noauto,users,exec 0 0



yeah I edited /etc/fstab earlier but it still does not come up as /home automatically. Interestingly the line marked:
Code:
# Added by KNOPPIX
/dev/hda3 /home ext3 noauto,users,exec 0 0
was not what I added myself
.. hmm what if I change "noauto" to "auto"?
ironduke is offline   Reply With Quote
Old 04-28-2007   #5 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
/dev/hda3 is mounted as /home only. you dont need to mount it again.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 04-28-2007   #6 (permalink)
Just Joined!
 
ironduke's Avatar
 
Join Date: Sep 2006
Location: Brisbane Queensland Australia
Posts: 78
but it doesn't mount automatically. ie /dev/hda3 is not mounted as /home.
ironduke is offline   Reply With Quote
Old 04-28-2007   #7 (permalink)
Banned
 
CodeRoot's Avatar
 
Join Date: Sep 2005
Posts: 567
should work...

I assume that 'it still does not come up as /home automatically' means "when I boot/reboot"...

I assume you tried umount/mount manually.

Changing 'noauto' to 'auto' is probably a good idea...

For what it is worth, you might change the '0 0' on that line to '0 2'.
__________________
* Linux 101 * Linux 102 * Computer 101 * Software 101 *
-
-
Remember: amateurs built the ark... professionals built the Titanic
CodeRoot is offline   Reply With Quote
Old 04-28-2007   #8 (permalink)
Just Joined!
 
ironduke's Avatar
 
Join Date: Sep 2006
Location: Brisbane Queensland Australia
Posts: 78
yes changing noauto to auto worked but now I can't start x because it can't find the user settings.
start again! the old home is gone anyway :^(

I think I'll try and find another distro that behaves.
ironduke is offline   Reply With Quote
Old 04-28-2007   #9 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Quote:
Originally Posted by ironduke
but it doesn't mount automatically. ie /dev/hda3 is not mounted as /home.
its mounting /dev/hda3 automatically. installer has created a separate /home partition.
default Partition Structure changes distro to distro. Fedora creates two partition /boot and / (root) and SuSe creates three, /boot, / and /home.

knoppix installer has created 3 partitions /boot, / and /home like SuSe. i suggest you not to change anything in /etc/fstab file.

EDIT:
Quote:
Originally Posted by ironduke
yes changing noauto to auto worked but now I can't start x because it can't find the user settings.
start again! the old home is gone anyway :^(

I think I'll try and find another distro that behaves.
edit /etc/fstab file again and restore /home line back to original.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First

Last edited by devils casper; 04-28-2007 at 09:34 AM..
devils casper is offline   Reply With Quote
Old 04-28-2007   #10 (permalink)
Banned
 
CodeRoot's Avatar
 
Join Date: Sep 2005
Posts: 567
Try positioning all '/dev/hda*' lines above '/proc' (with '/dev/hda2').

(To a certain degree, the order of the lines is significant.)
__________________
* Linux 101 * Linux 102 * Computer 101 * Software 101 *
-
-
Remember: amateurs built the ark... professionals built the Titanic
CodeRoot is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 01:06 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2