LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-04-2005, 12:22 AM   #1
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 357

Rep: Reputation: 30
Major filesystem problems on fresh slack 10 install


Hello everybody.

I just reinstalled slack 10 on an old laptop. It was working fine before, but in order to satisfy my need to break things, I decided to reinstall.

Breaking things? mission accomplished.
Successfully installing slack? failed miserably.

Here's the problem. I repartitioned my 12 gig drive as follows:
/dev/hda1 5000 mb bootable mounted as / tagged as type linux
/dev/hda2 500 mb swap tagged as type linux swap
/dev/hda3 whatever was left mounted as /home tagged as type linux

All partitions were set as primary and partition table was written to disk.

I proceeded into the slack installation, adding swap and formating successfully.
I then formatted /dev/hda1 and /dev/hda3 as reiserfs and set the mount points as above.

Once I logged into the system, I checked out my disk usage.
Here's the results of df and free:
Code:
root@shorty:/# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/hda1              4.0G   3.0G   1.1G  73% /
root@shorty:/# 
root@shorty:/# free -m
             total       used       free     shared    buffers     cached
Mem:           123        120          2          0          7         64
-/+ buffers/cache:         49         74
Swap:            0          0          0
root@shorty:/#
Obviously, something is amiss. Upon checking syslog, I came across the following errors:
Code:
Jan  3 23:43:25 shorty kernel: register_serial(): autoconfig failed
Jan  3 23:43:25 shorty kernel: RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
Jan  3 23:43:25 shorty kernel: hda: IBM-DARA-212000, ATA DISK drive
Jan  3 23:43:25 shorty kernel: hdb: CD-224E, ATAPI CD/DVD-ROM drive
Jan  3 23:43:25 shorty kernel: blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
Jan  3 23:43:25 shorty kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jan  3 23:43:25 shorty kernel: hda: attached ide-disk driver.
Jan  3 23:43:25 shorty kernel: hda: host protected area => 1
Jan  3 23:43:25 shorty kernel: hdb: attached ide-cdrom driver.
Jan  3 23:43:25 shorty kernel: kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Jan  3 23:43:25 shorty last message repeated 2 times
Jan  3 23:43:25 shorty kernel:    8regs     :   823.200 MB/sec
Jan  3 23:43:25 shorty kernel:    32regs    :   474.000 MB/sec
Jan  3 23:43:25 shorty kernel:    pIII_sse  :  1005.600 MB/sec
Jan  3 23:43:25 shorty kernel:    pII_mmx   :  1126.400 MB/sec
Jan  3 23:43:25 shorty kernel:    p5_mmx    :  1175.600 MB/sec
Jan  3 23:43:25 shorty kernel: raid5: using function: pIII_sse (1005.600 MB/sec)
Jan  3 23:43:25 shorty kernel: FAT: bogus logical sector size 0
Jan  3 23:43:25 shorty last message repeated 2 times
Jan  3 23:43:25 shorty kernel: reiserfs: found format "3.6" with standard journal
Jan  3 23:43:25 shorty kernel: reiserfs: checking transaction log (device ide0(3,1)) ...
Jan  3 23:43:25 shorty kernel: for (ide0(3,1))
Jan  3 23:43:25 shorty kernel: ide0(3,1):Using r5 hash to sort names
Jan  3 23:43:25 shorty kernel: VFS: Mounted root (reiserfs filesystem) readonly.
Jan  3 23:43:25 shorty kernel: Unable to find swap-space signature
Jan  3 23:43:25 shorty kernel: sh-2021: reiserfs_read_super: can not find reiserfs on ide0(3,3)
The above is just a portion of the syslog. It may contain more relevant info that I missed, so I uploaded it here if anyone wants to see it in it's entirety. I also looked through dmesg, but didn't see any errors regarding the filesystem.

The only thing I did out of the ordinary was repartition in the middle of setup. I decided I wanted more space allocated to / so I quit setup and ran cfdisk again. When I ran setup again, everything formatted fine. addswap gave me a warning about configuring the swap and suggested that some command needed to be run. I said OK to whatever command it suggested (can't remember what it was exactly), and formatting of swap continued as normal and indicated success. I then went through the formatting of the / and /home partitions as I normally do. Everything seemed to work fine.

If anyone has any idea what might have went wrong, I'd really appreciate the input.
I spent some time tweaking things before I noticed the problems, so if there might be a way to fix it without reinstalling, I'd be super happy.

Thanks in advance for any advice... and sorry for such a long initial post.
 
Old 01-04-2005, 02:08 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
What's fdisk -l say?

I suspect the partitions are there and you just need to 'mkswap' and 'swapon' your swap and 'mkreiserfs' your hda3. If there's no data on there yet, it shouldn't be a problem.

Also fstab - maybe need to touch that up.

Also, while I've never done it, I believe you can resize a reiser partition - redo the partition with [c]fdisk and then 'resize_reiserfs' - which I don't think is a problem as long as it's a simple extension. The key thing is having a fixed initial boundary and not truncating the final, I think.

No guarantees on any of this, by any means, but those are my guesses. Probably just confused the installer.

I've deleted partitions out from under data before or resized around them and, as long as you reset the partition properly, the data remains - but this has usually been with DOS filesystems - still should apply.
 
Old 01-04-2005, 02:58 AM   #3
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 357

Original Poster
Rep: Reputation: 30
digiot, I can't thank you enough. Problem solved--completely!!!!
I guess the installer just got completely confused with the repartitioning. mkswap and swapon fixed the swap, mkreiserfs fixed /dev/hda3 (after I RTFM ). And resize_reiserfs fixed my root partition.
Code:
root@shorty:~# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/hda1              5.0G   3.0G   2.1G  59% /
/dev/hda3              6.6G    34M   6.6G   1% /home
root@shorty:~# 
root@shorty:~# free -m
             total       used       free     shared    buffers     cached
Mem:           123        100         23          0         40         45
-/+ buffers/cache:         14        109
Swap:          476          0        476
root@shorty:~#
Perfect! Thanks again.
 
Old 01-04-2005, 04:30 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Yeah - that output looks much better. Glad to help and glad you got it working.
 
  


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
Slack 10 - No Sound After Fresh Install IamI Slackware 8 06-16-2005 08:30 PM
fresh slack 10.1 install (2.4.29) on a D915GEV MB coocoopuff Slackware 1 05-30-2005 12:41 PM
Abit AN7 and Fresh Slack Install Problems aliiscool Slackware 2 08-24-2004 12:20 PM
no network after fresh Slack 9 install major.tom Slackware 4 08-04-2003 04:01 PM
Can't boot fresh slack-9b install. gusgorman Slackware 8 02-21-2003 07:27 PM


All times are GMT -5. The time now is 04:03 AM.

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