Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-21-2006, 08:31 PM
|
#1
|
Member
Registered: May 2004
Location: Bangkok, Thailand
Distribution: Simply Mepis 8.0 32bit
Posts: 89
Rep:
|
/home partition loss, after kernel recompile
hello.
On Slackware10.2, kernel 2.6.13. I decided to recompiling the kernel 2.4.33 in order to downgrade my system. But I found out that on the newly compiled system the home directory which is on a seperate partition is unmounted, therefor I can't login to normal user except only root. But back on kernel 2.6.13 everything works fine. How could this happened? Both kernel must've use the same fstab file mustn't they? Or am I missing out something?
By the way, this is my fstab
Code:
dev/hda7 swap swap defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hda5 /usr/local ext3 defaults 1 2
/dev/hda6 /home ext3 defaults 1 2
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
Thanks
|
|
|
01-21-2006, 10:05 PM
|
#2
|
Member
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581
Rep:
|
Compiling a kernel shouldn't affect the loading of /etc/fstab.
can you mount the partition manually.
Cheers,
Eddie
|
|
|
01-23-2006, 07:54 AM
|
#3
|
Member
Registered: Oct 2002
Posts: 81
Rep:
|
Stupid question but, when you compiled the kernel did you add in support for the ext3 file system?
|
|
|
01-23-2006, 09:23 AM
|
#4
|
Member
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165
Rep:
|
Quote:
Originally Posted by kriton12
Stupid question but, when you compiled the kernel did you add in support for the ext3 file system?
|
Looks like he must have, or else / and /usr/local wouldn't mount either. With all those partitions it looks like lvm, or extended partition support isn't loading.
|
|
|
01-24-2006, 01:22 AM
|
#5
|
Member
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66
Rep:
|
This is probably a really stupid suggestion, but the fstab that you posted is missing a forward slash on the first line.
dev/hda7 swap swap 0 0
I'm sure it was a copy/paste error.
Jacob
|
|
|
01-27-2006, 08:58 AM
|
#6
|
Member
Registered: Oct 2002
Posts: 81
Rep:
|
Hmmm... this is weird, I'm almost willing to bet the /home partition isn't being mounted when you log in as root either. Root's home directory isn't on the home partition, it's under /root so you wouldn't have any problem logging in if /home doesn't mount.
Log in as root and see if you can access the /home parition.
Did you say you have no problems with access under the 2.6.X kernel and you can confirm this?
|
|
|
01-27-2006, 09:45 AM
|
#7
|
Member
Registered: May 2004
Location: Bangkok, Thailand
Distribution: Simply Mepis 8.0 32bit
Posts: 89
Original Poster
Rep:
|
Thanks for all reply. I found out today that the real cause was I didn't include for support for ext3 FS during kernel compilation. Everything is fine and works normally now. :-)
|
|
|
All times are GMT -5. The time now is 02:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|