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 was installing slackware and were at the part where I was supposed to write my root passwd, but I couldn't because I had a bus error. So I decided to continue without a root passwd. Right after that I got a message that I didn't have enough space, and that I should restart. I checked fdisk and found out that my swap disk was full. I restarted and
chose to start Linux with boot and continued got this message:
WARNING: Couldn't open /etc/fstab: no such file or directory
/sbin/e2fsck is a directory while trying to open /
/:
The superblock could not be read or does not describe a correctext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else ), then the superblock is corrupt and you might tru running e2fsck with an alternate superblock:
e2fsk -b 8193 <device>
*******************************************************
*** An error occurred during the root filesystem check. ***
*** You will now be given a chance to fix the problem. ***
*** ***
*** If you are using ext2 filesystem, running ***
***'e2fsck -v -y <partition> might help. ***
*******************************************************
once you exit the single-user shell, the system will reboot
I then had to write my root passwd or be rebooted. Since I don't have a root passwd I'm being rebooted each time.
I'm thinking to try to reinstall slackware, but I don't know how to get to fdisk to delete what I have there. I tried to place my install cd in, but that leads me directly to LILO and I haven't found any programs which allows me to delete the partitions without using OS.
I have a mobile computer with Intel Pentium M, Kingston ValueR DDR SO-DIMM.
the install cd should lead you to the prompt to setup, not lilo. you should be able to run cfdisk from there. if it won't boot and your bios is set to boot from cd, try a slax or knoppix cd. i prefer slax b/c it doesn't force you into a gui.
Try booting the install disk. Use cfdisk to recreate all your partitions, specifying the correct filesystem type for each. Re-install.
I am guessing you pointed setup to your swap. It installed what it could (to the wrong partition), until it ran out of space. Unless you had somewhere around 4G of swap , this would cause a whole mess of errors.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.