LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 10-22-2013, 03:29 AM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Rep: Reputation: 50
Missing 'FS' ext3 on 90GB /home partiton


Searching similar threads while I psot because I don't have days to fix this by myself.
Here is /etc/fstab:
Code:
/dev/sda2     /swap       /swap  
/dev/sda5      /                ext3
/dev/sda1      /boot         ext3
/dev/sda3      /home
/dev/sda6      /usr            ext3
/dev/sda7      /tmp          ext3

#df -h  
Displays everything except /home
During Boot Time Screen reports /home has no ext3 barrier. I formated each partition during the Slackware Install Process. The labels are as they should be.
Question is can I just format /home, it's a clean partition, haven't tried to run kde desktop for the new user, caught the missing extension format during post install configuration as root . Redoing this slackware64-13.37 install would just take too much time on top of the days I've already spent for neighbor's ThinkPad.
Has anyone had this happen to them? Can someone tell me how they fixed it? Thanks
 
Old 10-22-2013, 04:44 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,929

Rep: Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306
If you have never used that filesystem and there is no important data on it you may try mkfs, but I think the user's home dir(s) should have been created (but probably the installation was unable to do that).

Last edited by pan64; 10-22-2013 at 04:46 AM.
 
Old 10-22-2013, 12:05 PM   #3
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Code:
#dmesg | less
 EXT3-fs: barriers not enabled
 kjournald starting.  Commit interval 5 seconds
 EXT3-fs (sda5): mounted filesystem with ordered data mode
The above output displays for sda1, sda2, [sda3 does not appear mounted during boot], sda4 Extended<sda5, sda6, sda7

Can anyone explain what is wrong & what to do exactly for sda3 /home partition? Can I run setup to just get /home ... or will that wipe out the rest of the install??? I only did adduser but have not tried to open /home for fear of what it will do? Thanks

How long should it take for 90G /home to format with mkfs ? How do I know the program is not stuck?

Last edited by NightSky; 10-22-2013 at 10:43 PM.
 
Old 10-22-2013, 11:26 PM   #4
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Did the following trying to figure out howto get /dev/sda3 -> /home to reflect ext3 in /etc/fstab. I used ext3 thinking it would be more stable than ext4 was it a mistake? Thinking that before all the auto configuration of install setups. So there must be a manual way to fix the missing ext3 FS. Conceptually it seems a simple fix but I looking to learn the technical specifics. Do I unmount /dev/sda3, then mkfs ext3 , & then mount /dev/sda3?

Code:
#ls /dev|grep sd
sda
sda1
sda2
sda3
sda4
sda5
sda6
sda7

Last edited by NightSky; 10-22-2013 at 11:36 PM.
 
Old 10-23-2013, 01:05 AM   #5
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Found these instructions that include code for Manually building a Gentoo Network. Will these codes and commands work in Slackware64-13.37?

http://pastebin.com/i7Z7im37
 
Old 10-23-2013, 01:10 AM   #6
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Did the following trying to figure out howto get /dev/sda3 -> /home to reflect ext3 in /etc/fstab. I used ext3 thinking it would be more stable than ext4 was it a mistake?
Code:
#ls /dev|grep sd
sda
sda1
sda2
sda3
sda4
sda5
sda6
sda7

Last edited by NightSky; 10-23-2013 at 01:16 AM.
 
Old 10-23-2013, 01:29 AM   #7
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
What are the commands to check if /dev/sda3 is mounted? Can I unmount /dev/sda3 as root without hurting anything ? Is 'umount' the correct command to unmount a device or is it 'unmount'?
 
Old 10-23-2013, 01:43 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,355

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
"df" tells you what filesystem[s] is/are mounted - if you want to see everything try "mount". Not a lot of reason to use that in this case.
If /dev/sda3 isn't mounted you can't umount it.

Try adding the filesystem type to fstab - "parted -l /dev/sda" as root will tell you that.

*Edit:* be aware that this will overlay mount the /home you have already setup - all your users (except root) will effectively disappear. Better (from single user mode) to mount /dev/sda3 somewhere else and copy the current /home (including hidden files) to where you mount /dev/sda3. Then umount /dev/sda3, fix fstab and reboot.
Should all work.

Last edited by syg00; 10-23-2013 at 01:57 AM.
 
1 members found this post helpful.
Old 10-23-2013, 02:15 AM   #9
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
by default disabled on ext3 and enabled on ext4. Further more someone said :
Quote:
It is only an info-level message. IIRC write barriers are disabled by default on EXT3 (but are enabled on EXT4) and this message shows up during boot time on recent kernels. If either your PC is plugged on an UPS or runs on battery like a laptop, write barriers are quite useless.
Found on Linux Mint Forum 6/12... I'm working on ThinkPad
 
Old 10-23-2013, 10:29 PM   #10
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Thank you syg00 - Don't quite understand your instructions though.

Code:
#df -h
/dev/root 6.0G     /root
/dev/sda1 372M  /boot
/dev/sda6  35G    /usr
/dev/sda7    5G    /tmp
So /dev/sda5 is suposed to be /
/dev/sda3 " " " " /home Linux or 83 but no ext3 format.

So home is not mounted. Correct? I under how to goto runlevel 1. Don't understand,
Quote:
will overlay mount the /home you have already setup
I just added one user and don't care if it disappears, I can just add the user again. What do you mean by overlay the /home I already setup, apparently its not setup.
Thought I would just see a list like when I fdisk -l
Surprise
Code:
#parted -l /dev/sda 
 Error: /dev/md0: unrecognized disk label
Warning: Error fsyncing/closing /dev/mdo: Input/output error
Retry/Ignore?
How do I cancel out of this? I used Ignore and got out of there. Going to runlevel 1.

Last edited by NightSky; 10-23-2013 at 10:31 PM.
 
Old 10-24-2013, 06:52 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,355

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
It looks like you are transcribing the listings - if you can't highlight and then post here, post files as attachments so we can see what actually exists. For example
Code:
cat /etc/fstab > fstab.lst
df -hT > df.lst
parted -l > parted.lst
then attach the files on a post here.
 
Old 10-24-2013, 02:37 PM   #12
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,391

Rep: Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091
Just wondering... Maybe at time of installation you told the installer to use /dev/sda3 for /home but not to format that partition, so it didn't create a filesystem in it.

If my guess is correct you can just do that afterwards typing as root:
Code:
mkfs.ext3 /dev/sda3
Better double check your typing before pressing [Enter], not to wipe out another partition...

Then edit /etc/fstab to indicate ext3ts in the file system field.

PS to know the type of filesystem installed in each partition, just type:
Code:
df -hT

Last edited by Didier Spaier; 10-24-2013 at 03:02 PM. Reason: PS added
 
1 members found this post helpful.
Old 10-24-2013, 08:21 PM   #13
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
syg00 I am communicating on my laptop.. so I just copy the output from the ThinkPad... I'm working in root and am in runlevel1.
Didier Spaier, during install I chose /dev/sda3 for home and slow format- but its 90GB and I could not see the progress of format and I think it didn't work. Plus I used a DVD disk they spin too fast. Think Install failed to format ext3. Thank you so much. So I do this in runlevel1 as root and do I have to mount /dev/sda3 first?
Don't think /dev/sda3 is mounted is mounted?
Code:
#df -hT    - lists everything correctly Except It does not list  /dev/sda3

Last edited by NightSky; 10-24-2013 at 10:04 PM.
 
Old 10-24-2013, 10:43 PM   #14
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,391

Rep: Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091
if it doesn't show in df, probably /dev/sda3 was not properly created. You can check with
Code:
cat /proc/partitions
Does it show there?

If it doesn't, do:
Code:
cfdisk /dev/sda/
and please post the output as accurately as you can.

You'll probably have to (maybe delete then) create the partition again, choosing partition type 83 for "linux", then type
Code:
mkfs.ext3 /dev/sda3
. Of course if after running cfdisk there is a change in partitions numbering you should adapt that command accordingly, and edit /etc/fstab accordingly as well.
 
1 members found this post helpful.
Old 10-25-2013, 08:21 AM   #15
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,508

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
Quote:
Originally Posted by Didier Spaier View Post
PS to know the type of filesystem installed in each partition, just type:
Code:
df -hT
The df command only shows results for filesystems that are currently mounted. To see information for all partitions and devices, use blkid.
Code:
blkid              # All devices and partitions
blkid /dev/sda*    # All partitions on sda
blkid /dev/sda3    # Just sda3
 
2 members found this post helpful.
  


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
Reading/writing ext3 partiton from XP Struki Linux - General 3 05-10-2010 11:31 AM
[SOLVED] Relocate /home to seperate partiton. damgar Linux - Newbie 3 04-22-2010 09:31 PM
partiton ubuntu/xp home sound problem repainter Linux - Software 3 12-17-2007 02:58 PM
chaged / partiton from ext3 to XFS. cant boot. (recompile initrd ?) qwijibow Linux - Software 1 06-14-2004 07:34 AM
Where and what type of Linux partiton? (EXT2 vs EXT3, 1st or 2nd HD, etc) Noffie Linux - Newbie 3 01-05-2004 09:05 AM


All times are GMT -5. The time now is 08:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration