LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-21-2006, 08:31 PM   #1
dejavu_01
Member
 
Registered: May 2004
Location: Bangkok, Thailand
Distribution: Simply Mepis 8.0 32bit
Posts: 89

Rep: Reputation: 15
/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
 
Old 01-21-2006, 10:05 PM   #2
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Compiling a kernel shouldn't affect the loading of /etc/fstab.

can you mount the partition manually.

Cheers,
Eddie
 
Old 01-23-2006, 07:54 AM   #3
kriton12
Member
 
Registered: Oct 2002
Posts: 81

Rep: Reputation: 16
Stupid question but, when you compiled the kernel did you add in support for the ext3 file system?
 
Old 01-23-2006, 09:23 AM   #4
eelriver
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: Reputation: 30
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.
 
Old 01-24-2006, 01:22 AM   #5
shotwellj
Member
 
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
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
 
Old 01-27-2006, 08:58 AM   #6
kriton12
Member
 
Registered: Oct 2002
Posts: 81

Rep: Reputation: 16
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?
 
Old 01-27-2006, 09:45 AM   #7
dejavu_01
Member
 
Registered: May 2004
Location: Bangkok, Thailand
Distribution: Simply Mepis 8.0 32bit
Posts: 89

Original Poster
Rep: Reputation: 15
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. :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to resize partition with no data loss? jonohana Linux - Newbie 3 11-15-2005 08:20 AM
recompile kernel to read ntfs partition scottybwoy Debian 5 11-08-2005 07:24 PM
swap partition fails after recompile kernel IamDaniel Linux - General 7 01-08-2004 02:45 PM
data loss on FAT32-Partition sem2 Linux - General 1 08-01-2003 11:03 PM
Terrorism related loss of freedoms finally hits home. mocnicom General 18 02-21-2003 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration