Re: Booting to >8GB...

From: Andre Hedrick (andre@suse.com)
Date: Mon Mar 20 2000 - 11:38:27 EST


# append="devfs=nomount"
#
boot=/dev/hda
#
disk = /dev/hda
  bios = 0x80
disk = /dev/sda
  bios = 0x81
#
#compact # faster, but won't work on all systems.
linear
vga = normal # force sane state
read-only
prompt
#timeout=100
# End LILO global Section

image = /boot/vmlinuz
  root = /dev/hda2
  label = linux
  optional

Disk /dev/hda: 16 heads, 63 sectors, 25228 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot Start End Blocks Id System
/dev/hda1 * 1 17 8536+ 83 Linux
/dev/hda2 18 1578 786744 83 Linux
/dev/hda3 1579 25228 11919600 5 Extended
/dev/hda5 1579 5740 2097616+ 83 Linux
/dev/hda6 5741 7821 1048792+ 83 Linux
/dev/hda7 7822 9902 1048792+ 83 Linux
/dev/hda8 9903 11983 1048792+ 83 Linux
/dev/hda9 11984 15104 1572952+ 83 Linux
/dev/hda10 15105 25228 5102464+ 83 Linux

hdparm -i /dev/hda

/dev/hda:

 Model=QUANTUM FIREBALL CX13.0A, FwRev=A3F.0F00, SerialNo=134911811509
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
 BuffType=3(DualPortCache), BuffSize=418kB, MaxMultSect=16, MultSect=16
 DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=25429824
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
 UDMA modes: mode0 mode1 mode2 mode3 *mode4
 Drive Supports : ATA/ATAPI-4 T13 1153D revision 15 : ATA-1 ATA-2 ATA-3 ATA-4

Okay, but there is then the mystery bonus 5GB on the 13.0GB drive..

On 20 Mar 2000, Patrick J. LoPresti wrote:

> Andre Hedrick <andre@suse.com> writes:
>
> > And "linear" to you lilo.conf, minus the quotes.
>
> I do not think this works. All "linear" does is tell LILO to store
> linear values in its map file and compute the corresponding CHS values
> at boot time. This limits LILO to accessing the first 8G of disk
> always. (Has this been changed in recent versions of LILO?)
>
> Grub, on the other hand, can be configured to use LBA mode to talk to
> the BIOS. This *will* get around the 8G limitation, but it only
> applies to recent versions of Grub (CVS sources; not sure about
> released versions) and fairly recent BIOSes (last few years).
>
> - Pat
>

Andre Hedrick
The Linux ATA/IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:30 EST