Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hard disk problem

> To clarify things a bit: we did get rid of On-track's Disk Manager,
> first by using On-track's software to get rid of the stuff on the boot
> sector, and (when that didn't fix the problem) also by doing "fdisk
> /mbr" under DOS, and repartitioning the whole hard disk from scratch.
> As I said, DOS (about 11 MB in partition 1) boots up fine in any case
> (whether I but in 708 cylinders or 1416 cylinders in the BIOS) and
> things seem to work.  But when booting up under Linux, the system
> complains that it can not read the partition table.

Can it even read the disk?  Try 'cat /dev/hda >> /dev/null' and
see if the disk runs.

> > Set the BIOS to be the true characteristics of the drive. (1416,16,63)

Hey, your hard disk is the same size as mine!  Time for a hack.
It is a terrible sacrifice, but I will donate my healthy boot
sector to save your ailing computer.  :-)

begin 644 bootsect.gz
MG,8`7R&MEC^4!,=76:=$][?/E. at H*_>M-C=3I;%Q]QCR62DG'SC"1 at K[Q#6J

Uudecode, gunzip, and transfer to your bootsector with dd.
You will end up with 1023 cyl DOS, about 400 Linux, and
some swap.  You will also get LILO, but it will not work
until you reinstall it yourself.

Tell the BIOS the truth about your disk - that is what I did,
and your BIOS must match mine.  After you set up the partitions,
reboot and install DOS.  That low partition must have a filesystem
so that you can install LILO.  Run the Linux setup program.
LILO will not install correctly.  Make a directory in the low
partition, /dos/linux/boot for example.  (you will need to mount
it yourself)  Copy everything from /boot there and replace /boot
with a symlink to the new location.  Now you can install LILO.

> We are getting sort of desperate, and also can't get the kernel to
> recognize the NEC x4 CD-ROM driver (attached to a NEC 16-bit AT SCSI
> Host Adapter).  We are trying to install Slackware from a CD-ROM, and
> none of the SCSI boot disks have been able to recognize /dev/scd0 or
> /dev/scd1.  (The kernel always reports 0 SCSI Hosts).  We should
> probably do some more reading on the SCSI-HOWTO,

You should.  I think NEC is Buslogic compatible, but I do not know.
Check the date on your software - Slackware itself, not the CD.
Does your controller have a BIOS enabled?  If not, there is no way
to autodetect it.  Pass the info on the LILO command line.
For example, my SB16/SCSI is Adaptec compatible but has no BIOS.
I need to use aha152x=0x340,11,7,1, or append="aha152x=0x340,11,7,1"
in /etc/lilo.conf.  Maybe your CD is set to the same ID as the
controller card.  BTW, are you really sure it is SCSI?

> but the hard disk problem is really a puzzle to use.
> My colleague has ordered a new hard disk and see if
> changing the hard disk will fix the problem.
> Otherwise, I'm afraid that we (the Linux user community)
> will lose another convert.

He is using hardware designed for a 16-bit OS that does not
protect itself or provide many basic services.  He should get
a Sun if he can't deal with PC hardware - nothing to be ashamed
of really.  Many people prefer the Mac even.

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /