Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-27-2003, 08:51 AM   #1
Registered: Jul 2003
Location: Random
Distribution: Slackware
Posts: 63

Rep: Reputation: 15
Partition problem persists...

I have done unimaginable things to my hard disk in the last few days, trying to install slackware. I need some help here

I have made the swap and the target drive, i.e i made two partitions. I have the following problems still

1. When i use the fourth console to check messages it says mount: bad option, bad super block on dev/hda2 , bad option or too many mounted file systems. - I actually re-partitioned the drive with DOS and formated the drive before i re -ran this line
dd if=/dev/zero of=/dev/hda and repartitioned with linux and made swaps, turned the swaps on and restarted the system. before going on to install from set up.

2. I am not able to set root password - i think this may be the root of the problem- it enters an "infinite loop" until i say no to quit and restart the system. Then it says "operating system is missing" i wonder where the message comes from

3.I prefer the the traditional linux file system the ext2 but the default seems to be the reiserfs?

Thank you for your help....

Old 07-27-2003, 09:42 AM   #2
Senior Member
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
If you boot from the Slack CD, you'll be automatically log on as root (or you can enter root as the username, and no password prompt will come up, I can't really remember fully because I only installed Slack 9 twice, and it never dies on me ).

From there use cfdisk to partition your hard disk (or remove any existing ones), and then run setup to actually install slack. You have to make the partitions ready first before running setup.

There's no need to dd just to wipe the disk. cfdisk will take care of that for you.
Old 07-27-2003, 01:49 PM   #3
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi xmeson

You'll have a choice after youve partitioned with cfdisk - whether to use:


Its up to you.
Old 07-28-2003, 05:26 AM   #4
Registered: Jul 2003
Location: Random
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 15
Azmeen, You see i have done all of that, you are right the CD lets you log in as root without a password, this also works. I normally use fdisk to create partitions.

Even when i use the fourth console to check installation, i run slow format with the default i-nodes, everything seems to work well. It checks out - as i see it.

Skyline, i use the ext2 b`cos it is traditional linux.

The problem starts when i need to configure the new installation there is a part where i need to set the root password so that when i reboot, i can login proper. But this does not work b`cos the file does not exist .

I am also trying to point that when i am checking progress/messages on the fourth console it says, mount: bad option, bad super block on dev/hda2 , bad option or too many mounted file systems. It seemingly completes installation though, all the packages i want are installed. But when i restart the system it says operating system is missing .

I am really really confused now...thanks for the suggestions so far...

Old 07-28-2003, 05:59 AM   #5
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 304

Rep: Reputation: 50
Which partition is /dev/hda2? Your swap or your root? Is /dev/hda2 a really, really old disk? Or a very, very new disk?

Do you have any other partition beyond /dev/hda1 and /dev/hda2? Are you using something beyond Slackware?

Try this:
1. Wipe out your HDD with cfdisk & recreate /dev/hda1 and /dev/hda2. The device /dev/hda1 should be set as "Linux Native" and "Primary Partition".
2. Format /dev/hda1 with "ext2fs", using the smallest possible inode and a "slow/check" formatting type. Indicate that "/" should be the mount point of "/dev/hda1".
3. Make sure that Slackware can initialize your swap space (/dev/hda2).
4. Make sure you install Lilo on MBR of "/dev/hda1", and that you have chosen and installed a kernel!

Most of the time, that kind of message appears because you got confused in some of these options.

Do read the Slackware Essentials book, and make sure you understand it, before trying to install Slackware:

Sorry if this seems very basic, but disk problems are the hardest to solve through this forum...

Hope this helps!
Old 07-30-2003, 07:15 AM   #6
Registered: Jul 2003
Location: Random
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 15

/dev/hda2 is my root partition. I think it is more likely to be quite an old disk.

I am not using anything beyond slackware, and i have only two partitions dev/hda1 & 2.

1. I am going to use cfdisk to do as you have advised, but the book says dev/hda1 should be "primary- linux swap".Code type 82 but i will do as you have said.

2. I do not understand this- "Indicate that "/" should be the mount point of "/dev/hda1".

3. How do i achieve this ? "Make sure that Slackware can initialize your swap space (/dev/hda2)."

4. The choice of installing a kernel and LiLo comes from set up but set up does not present the option doing that.Can i do this manually without "set up" ?

Thanks , I am going to try as you have said in points 1 to 4.
Old 07-30-2003, 07:27 AM   #7
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159

Rep: Reputation: 30
Don't try to auto install lilo. Manually configure it. And cfdisk is a bit easier than fdisk both dos and linux. I say easier, but I really mean smarter. You pretty much set everything up before it does a thing then scroll to write and write the disk.

Any noobies using cfdisk like I am should note that I did not find an option to change the drive you are working on. I had to exit cfdisk and then tell it from prompt what disk I wanted.

:-# cfdisk /dev/hdb

Last edited by At0mic_PC; 07-30-2003 at 07:29 AM.


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
Partition problem with Qtparted in Knoppix variety & mp3 support problem in FC3 eypros Linux - Software 1 06-01-2005 07:12 PM
HELP !!! problem on partition akamaru607 Fedora 3 05-22-2005 06:46 PM
boot problem/ partition problem? ian sil Linux - General 1 05-10-2005 06:08 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 12:42 PM
Partition problem davidjs Linux - Newbie 1 01-28-2004 12:02 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration