Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Harddisk problem when installing SUSE Linux 6.1

Posted on 1999-07-12
7
Medium Priority
?
289 Views
Last Modified: 2013-12-15
Hello @,

i have some problems installing SUSE Linux 6.1 on my Pentium-133 (ATI Mach64, ESS 1688, HDD EIDE Seagate 1.2GB).
As the HDD is older, it has some faulty sectors. My previous installation (win98) already told it me).
The HDD does some noise when i try to format it -> bad sectors :-(((

The problem: when installing (boot from CD #1, run yast), yast tries to initialize the SWAP space (64 MB). I waited about 2 (!!!) hours, then i killed it.
I think yast should determine that there are some errors on the HDD and mark them in his inode table and then go on...

Have i killed it too early?
I don't want to buy me a new HDD as ithink the old one should still work with my needs (as long as it really crashes...) so please do NOT tell me s.th like 'buy you a new HDD'.

Any suggestions ??? What about installing without SWAP and then integrating it? Or creating the partitions first (fdisk) then e2fsck ?

Any ideas rcommended. (Best and easisest one working will be 200 points or more !!!)
0
Comment
Question by:rpichler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 4

Expert Comment

by:gunny051499
ID: 1629579
try out putting the swap-partition at the end. usualy you will put it at the beginning of the disk, before the root-partition, but try it anyway.

mke2fs (the program doing the high-level format for ext2) should be able to handle the bad sectors, however i would recomand you to do some more fsck by setting "tune2fs -s 5" or something like that (this will set the maximal_mount_count to 5).
0
 

Author Comment

by:rpichler
ID: 1629580
gunny,

what does tune2fs do?
what do you mean by maximal_mount_count ?
0
 
LVL 4

Expert Comment

by:gunny051499
ID: 1629581
tune2fs let's you set some parameters on ext2 partitions, like maximal_mount_count. this stands for how often the filesystem will be mounted without telling your initialisation scripts to do a filesystem-check (the thing, that takes some minutes on big filesystems ;).

setting it to 5 will do the following:

you boot the system up
you shut the system down

you boot the system up
you shut the system down

you boot the system up
you shut the system down

you boot the system up
you shut the system down

you boot the system up
filesystem is being checked....
you shut the system down

you boot the system up
you shut the system down

you boot the system up
you shut the system down

you boot the system up
you shut the system down

you boot the system up
you shut the system down

you boot the system up
filesystem is being checked....
you shut the system down

and so on...
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Expert Comment

by:gunny051499
ID: 1629582
however pay attention! you should not try to play around with tune2fs. do a "sync" before using it on a mounted file-system.
0
 
LVL 4

Expert Comment

by:gunny051499
ID: 1629583
well the above is only partialy correct, *grin*, since you could also mount/unmount a filesystem while the system is up... then you will only be notified, that your fs has reached the max. mount count....
0
 

Author Comment

by:rpichler
ID: 1629584
i tried putting it to the end of the harddisk - same result - there are also bad sectors...sorry.
i think i've to buy me a new HDD...

let's do a rate, gunny, i give you the points!
0
 
LVL 4

Accepted Solution

by:
gunny051499 earned 600 total points
ID: 1629585
sorry, for not helping you. anyway: if you have about 128 mb of ram, you my also leave out the creation of a swap partition.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question