SlackwareThis 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.
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.
I finally got my Slack 10.1 install strightened out with one exception: I can't mount hda2. Mounting during the boot via fstab fails with: /dev/had2 is not a valid block device.
This is the output from fdisk -l
Device Boot Start End Blocks Id System
/dev/hda1 * 1 7295 58597056 83 Linux
/dev/hda2 7296 19209 95699205 83 Linux
/dev/hda3 19210 19457 1992060 82 Linux swap
You can see it's there - I formatted it as ReiserFS during the install.
When i try to mount manually with mount /dev/hda2 /mnt/backup I get the same /dev/hda2 is not a valid block device.
I even tried to format it again with mkfs -t reiserfs -f /dev/hda2 and got this:
/dev/hda2 is not a block special device
Continue (y/n):y
Guessing about desired format.. Kernel 2.4.29 is running.
reiserfs_create: can not create that small (0 blocks) filesystem
I've searched the forums and most all the postings on this subject have to do with USB or CD ROM drives.
Deleted the partition, wrote the partition table, created a new partition, wrote the partition table then attemtped mkfs -t reiserfs /dev/hda2 and got :
/dev/hda2 is not a block special device
Use -f to force over
Then tried mkfs -t reiserfs -f /dev/hda2 and got:
/dev/hda2 is not a block special device
Continue (y/n):y
Guessing about desired format.. Kernel 2.4.29 is running.
reiserfs_create: can not create that small (0 blocks) filesystem
Don't thank him just yet.... mknod reporting that the file already exists means that it didn't do anything.
You're using the out-of-the-box kernel? I ask, because reiser isn't compiled in by default in the kernel (at least, it isn't enabled by default in the 2.6.10 image I downloaded). It's possible, if you've downloaded a kernel from kernel.org and compiled it, you forgot to enable reiser support.
What happens if you call it with mkreiserfs instead of mkfs -t reiserfs? I know that theoretically, mkreiserfs just calls mkfs with the type set to reiser, but it might actually work. Also, what if you try a different filesystem type, such as ext3 or ext2?
Running the bare.i 2.4.29 - what came packaged with 10.1 (will upgrade to 2.6.10 as soon as I get everything else set the way I want) Reiserfs is compiled into the kernel as hda1 is reiserfs and it mounts fine as the root (I once forgot to add reiserfs in on a custom kernel and have learned my lesson
Okay, I came up with a workaround that I'm satisfied with! I deleted the partition hda2 and then created a small 500 MB partition using hda2 with the remaining free space (~95 GB) I created another partition - hda4. I formated hda4 with reiserfs and can mount it with no problems!
I'm not sure what's going on with hda2 but this will work for me!
Thanks for your help everyone!
--Keith
Last edited by KeithKessler; 02-09-2005 at 09:13 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.