SLS 1.03 installs failing based on disk geometry

SLS 1.03 installs failing based on disk geometry

Post by Doug Hai » Fri, 10 Sep 1993 22:49:39



I am trying to install Linux using the SLS 1.03 disk suite on my
ThinkPad 350. The kernal is 99.pl12. Lilo is 0.10.
Because the ThinkPad does not store hard disk info in CMOS I use the
following method to install Linux:
1) Boot with a1.3, select RAMDISK & HD=cyl,hd,sec
2) Log in as root
3) FDISK to create a primary Linux partition about 62M (n). Toggle
   as bootable (a). Write table to disk (w).
4) Reboot as in (1) log in as install
5) Select 1 from SLS and mke2fs creates file system on /dev/hda1
6) Select 7 from SLS to install a minimal system from 3.5 A drive
   without asking me questions.
7) Creates floppy disk and adds Linux to HDD
8) Reboot with a1.3 specify HARDDISK ROOT=/dev/hda1 hd=cyl,hd,sec
9) rdev /zImage to use /dev/hda1 as root
10) go to /etc/lilo to modify disktab. Set the only uncommented
    disktab entry to '0x300 0x80 sec hd cyl 0' (no quotes :-) )
11) config has boot as /dev/hda1 & root as /dev/hda1
12) run install -v -v -v and boot sector was added.
13) Boot DOS 5.02 diskette and do FDISK /MBR to get master boot record.

Now depending on the geometry of the disk I get varied results.
Size    Cyl     HD     Sec      Result
85M     981     10     17       Works Linux boots to login prompt
85M     989     10     17       Works Linux boots to login prompt
128M   1024     14     17       Won't boot from any disk. Floppy boot
                                dies with errors uncompressing Linux with
                                CRC errors or corrupt input. File system
                                is hosed e2fsck gives all sorts of errors.
                                Programs won't run. Segmentation violations.
252M    569     16     54       Will only boot from a1.3 w/ harddisk root= hd=
                                Gives LI on hd boot. Floppy can't find root.
252M    989     16     34       Will only boot from a1.3 w/ harddisk root= hd=
                                Floopy & HD boot can't find root.

I am a newbie, but I have read LILO FAQ & Linux FAQ.
- Is there newer SLS that has a newer LILO or newer kernal
  that would fix this?
- Am I missing something?
- Should I ask this question elsewhere?

-----------------------------------------------------------------


 
 
 

SLS 1.03 installs failing based on disk geometry

Post by Doug Hai » Sat, 11 Sep 1993 01:42:46


More info.
1) Reinstalled following same exact procedure on 85M again and found that
   they could no longer find root. I must have done something different for
   them originally.
2) If at the LILO prompt I specified 'linux HD=cyl,hd,sec' the systems do
   find the root and boot properly (85 & 252 that gave LILO prompt)
3) I looked at the map files and saw that there was no HD=cyl,hd,sec
   phrase after the linux text. Somehow I got this in to the map file
   for the 85M & it booted properly again. Still trying to figure what
   I need to run to get this in. I know it is the -R "HD=cyl,hd,sec"
   but install & lilo keep flaking out when I run with this parameter.
   I ran bootargs since it looked like it should do the correct thing
   which worked on the 85 but not on the 252. I am sure I did something
   different between the two.
4) The suggested fix for the 252 that booted to LI in both the
   LILO FAQ & README did not fix the problem.

-----------------------------------------------------------------



 
 
 

SLS 1.03 installs failing based on disk geometry

Post by Doug Hai » Sun, 12 Sep 1993 00:13:05


I was able to get it to work properly once I had the proper disk
parameters. I queried the drive using the 'Identify' command and
found my numbers were wrong. Now all I need to do is

Quote:>1) Boot with a1.3, select RAMDISK & HD=cyl,hd,sec
>2) Log in as root
>3) FDISK to create a primary Linux partition about 62M (n). Toggle
>   Create remaining part of disk as swap Toggle 1st partition
>   as bootable (a). Write table to disk (w).
>4) Reboot as in (1) log in as install
>5) Select 1 from SLS and mke2fs creates file system on /dev/hda1
>6) Select 2 from SLS and mkswap creates swap partition on /dev/hda2
>6) Select 7 from SLS to install a minimal system from 3.5 A drive
>   without asking me questions.
>7) Creates floppy disk and adds Linux to HDD
>8) Boot DOS 5.02 diskette and do FDISK /MBR to get master boot record.

Can't the kernal be modified to query the parameters from the drive
first and if that fails then go to CMOS? It would have saved me
a lot of trouble.
-----------------------------------------------------------------


 
 
 

1. Fail to boot SLS 1.03 (99pl12) installed on SCSI disk

I have 2 IDE 116MB hard disk and one 1.2GB SCSI (BusLogic
B?-242B SCSI adapter card) hard disk on my 486DX-33. I have
installed SLS 1.03 99pl12 on /dev/hdb2 (90MB partition)
succesfully. I use MSDOS 6.0 + bootlin 1.4 to boot MSDOS or
Linux from IDE disk c:.

Recently, I installed a complete SLS 1.03 on my new SCSI (root
on /dev/sda4, /usr on /dev/sda8). But I could NOT boot this
installation neither form floppy nor from hard disk. The boot
procedure ended with VFS: kernal panic because it can not detect
a SCSI disk.

It seems the SLS 1.03 installation kernel does NOT support (my)
SCSI disk (although the install disk (a1) does support my SCSI
hard disk). So, I got a copy of 99pl14 and compiled it on my
/dev/hdb2 installation. Now, it recognizes my SCSI disk, I have
13 partitions on it, I tried to mount /dev/sda4, /dev/sda8 and
found every thing on them is OK. The only problem is the /dev
has only /dev/sda1 - sda8, I could not access the rest 5
partitions, /dev/sda9-sda13, which I planed to use as swap space
3 x 16MB and 2 for other OS's.

Then, I copy the zImage into a MSDOS partition and rdev it to
boot as /dev/sda4. Then I reboot, it always boots linux with
/dev/hdb2 as root (I did build this zImage on /dev/hdb2). I can
mount /dev/sda?, but can't boot the installation on /dev/sda4.
Both installations are from same SLS 1.03.

Q1: how to build /dev/sda9-sda13 if I can't find them in /dev ?

Q2: how to install a kernel (zImage) compiled on /dev/hdb2 for an
    installation on /dev/sda4? I did only "rdev zImage /dev/sda4",
    did I missed some steps?

Thanks in advance!

Yanming

2. ADSL

3. SLS 1.03 - Which install disk should have rc.local?

4. Logging onto mixed netork

5. Anyone Installed Metro-X Motif on SLS 1.03 -> Install sucks!!

6. Console keyboard

7. SLS 1.03 /usr busy, umount fails

8. Mad 16 - drives me mad

9. SLS 1.02 -> SLS 1.03 how?

10. How to upgrade from SLS 1.03 to SLS 1.05

11. SL/IP for linux SLS 1.03

12. Boot disks a1.3 and a1.5 missing in new SLS version 1.03

13. Unable to make Boot disk with SLS 1.03