Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
137GB+ HD Barrier in kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Nemesis
n00b
n00b


Joined: 26 Apr 2003
Posts: 22

PostPosted: Sat Apr 26, 2003 4:50 pm    Post subject: 137GB+ HD Barrier in kernel? Reply with quote

My brand new Maxtor 160GB Udma133 wont be recognised properly in my gentoo install...

I made 4 primary partitions on it when installing gentoo:

boot = 100mb ext3
swap = 2048mb reiserfs <- oops it IS swap =D
root = 10240mb reiserfs
and the rest on my stuff partition wich I also have reiserfs on...

like this in fdisk:
Code:

Disk /dev/hda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        12     96358+  83  Linux
/dev/hda2            13       261   2000092+  82  Linux swap
/dev/hda3           262      1506  10000462+  83  Linux
/dev/hda4          1507     19929 147982747+  83  Linux


Problem is that i cant mount the stuff partition in my homebuilt gentoo-kernel but i can mount it with the gentoo live cd!
I tried to repartition /dev/hda4 inside my installed system but mkreiserfs only tells me that the partition is too small...

Code:

<-------------mkreiserfs, 2002------------->
reiserfsprogs 3.6.4

mkreiserfs: Guessing about desired format..
mkreiserfs: Kernel 2.4.20-gentoo-r2 is running.
reiserfs_create: can not create that small (0 blocks) filesystem


Have I missed something in my config?

And I dont believe its the bios cause its a pretty new gigabyte kt333 board and newly updated bios...


Last edited by Nemesis on Sat Apr 26, 2003 6:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
snkmoorthy
Guru
Guru


Joined: 19 Nov 2002
Posts: 376

PostPosted: Sat Apr 26, 2003 6:17 pm    Post subject: Reply with quote

Its not easy to answer a question "have I missed something in my kernel config" - you should build support for your IDE chipset, filesystem type all built in not as modules.

I'm assuming:

1. You said gentoo livecd allowed you to mount it.
1.1 meaning you were able to run mkreiserfs on the partition and mount
it.
2. Problem occurred when you rebooted to boot off the HD.
2.1 did u emerge reiserfsprogs, as the install docs tell you to?

Your "swap" partition can't be "reiserfs" - use mkswap and swapon.
Back to top
View user's profile Send private message
Nemesis
n00b
n00b


Joined: 26 Apr 2003
Posts: 22

PostPosted: Sat Apr 26, 2003 6:41 pm    Post subject: Reply with quote

I built every ide, filesystem all critical system stuff as built in(not as modules).

1. Yes.
1.1 Yes.
2. Well when mounting my stuff partition at /dev/hda4
2.1 Yup...

I had no problem to mount my root /dev/hda3 reiserfs.

(oops edited that should be swap! :oops: )
Back to top
View user's profile Send private message
snkmoorthy
Guru
Guru


Joined: 19 Nov 2002
Posts: 376

PostPosted: Sat Apr 26, 2003 6:48 pm    Post subject: Reply with quote

ofcourse your fstab entries are valid for /dev/hda4 just like your /dev/hda3?

Still pondering over:

1. Are you trying to repartition /dev/hda4?
2. If that is the case, why would you be running mkreiserfs on the partition - shouldn' you fdisk first and then run mk-whatever on it?

and were you trying to run mkreiserfs on a mounted /dev/hda4??? :twisted:
Back to top
View user's profile Send private message
Nemesis
n00b
n00b


Joined: 26 Apr 2003
Posts: 22

PostPosted: Sat Apr 26, 2003 6:57 pm    Post subject: Reply with quote

My fstab entries are correct...

1. Yes
2. I did repartion it 2 times once with cfdisk and once with fdisk rebooting and then makin reiserfs on them same results.

couldnt mount it so then it couldnt have been mounted when i ran mkreiserfs /dev/hda4
Back to top
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Sat Apr 26, 2003 7:32 pm    Post subject: Reply with quote

I can't find anything via (a brief) google search for this weirdness. I'm assuming since you've repartitioned it and messed with it at this point there's no data on it anymore. If there is, well, I dunno. So, just to make sure we've got all of our ducks in a row:

fdisk /dev/hda
(check to make sure the partition is the right size, [w] to write the partition table to disk, or to be even more sure [d]elete partition 4, create a [n]ew partition (maximum size or whatever), [w]rite it to disk)
reboot just to be sure that the system reads the correct partition table
mkreiserfs /dev/hda4
mount -t reiserfs /dev/hda4 /name-of-directory-to-mount-to

If that doesn't work, give ext3 a shot (it's a dandy filesystem). If that doesn't work, well, something might be messed up. You can always hit an appropriate mailing list.
Back to top
View user's profile Send private message
Nemesis
n00b
n00b


Joined: 26 Apr 2003
Posts: 22

PostPosted: Sat Apr 26, 2003 7:42 pm    Post subject: Reply with quote

I think it is really wierd...

I can mount it with the livecd kernel but not with my homebuilt...

Is there any config settings or patches or something like that that doesnt exist in 2.4.20-gentoo-r2 kernel that does exist in the livecd kernel?
Back to top
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Sat Apr 26, 2003 7:56 pm    Post subject: Reply with quote

If you can mkreiserfs on the install CD, why can't you mount it when you're in your own install? What was the output of mount (not mkreiserfs)? Paste it here. Just boot with the install CD, mkreiserfs on /dev/hda4, reboot and mount it fresh in your installed system. That's what I'd like to see.
Back to top
View user's profile Send private message
Nemesis
n00b
n00b


Joined: 26 Apr 2003
Posts: 22

PostPosted: Sat Apr 26, 2003 8:11 pm    Post subject: Reply with quote

Hmm doesn do any diff...
When makin it guess...
Code:

nemesis / # mount /dev/hda4 /share
mount: error while guessing filesystem type
mount: you must specify the filesystem type
nemesis / #

or when specifying reiserfs...
Code:

nemesis / # mount -t reiserfs /dev/hda4 /share
mount: wrong fs type, bad option, bad superblock on /dev/hda4,
       or too many mounted file systems
       (aren't you trying to mount an extended partition,
       instead of some logical partition inside?)


maybe I should try some dev kernels but id like a stable desktop/gaming comp not something unstable and slow... =/
Back to top
View user's profile Send private message
snkmoorthy
Guru
Guru


Joined: 19 Nov 2002
Posts: 376

PostPosted: Sat Apr 26, 2003 8:29 pm    Post subject: Reply with quote

hmm...does a disk support 3 primaries or 4 primaries?
Back to top
View user's profile Send private message
Nemesis
n00b
n00b


Joined: 26 Apr 2003
Posts: 22

PostPosted: Sat Apr 26, 2003 8:35 pm    Post subject: Reply with quote

fdisk says four...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum