There's no such thing as enabling LBA on a SPARC. There is also no grub or lilo, only silo.
You will just need to use the "s" option of fdisk to set the proper Sun disk label for the 18G drive:
Code: Select all
Command (m for help): s
Building a new sun disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Drive type
? auto configure
0 custom (with hardware detected defaults)
a Quantum ProDrive 80S
b Quantum ProDrive 105S
c CDC Wren IV 94171-344
d IBM DPES-31080
e IBM DORS-32160
f IBM DNES-318350
g SEAGATE ST34371
h SUN0104
i SUN0207
j SUN0327
k SUN0340
l SUN0424
m SUN0535
n SUN0669
o SUN1.0G
p SUN1.05
q SUN1.3G
r SUN2.1G
s IOMEGA Jaz
Select type (? for auto, 0 for custom):
Use "0" for custom. You can accept the defaults, which "might" work, or look up the specs on your drive to make sure you get them correct.
The Gentoo Handbook for SPARC actually describes how to setup the disks using fdisk:
http://www.gentoo.org/doc/en/handbook/h ... #doc_chap3
The example above was for a custom disk type, and it warns you that the auto detection might not work.
Also, I don't think root is limited to 2G. On one of my SPARCs, I am running a RAID 0 array with 4 2G drives on the root and having no issues:
Code: Select all
lavon ~ # df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md0 7638648 2124876 5125740 30% /
/dev/sda1 66136 2808 59916 5% /boot
none 67864 0 67864 0% /dev/shm
Code: Select all
lavon ~ # cat /etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
/dev/md0 / ext3 noatime 0 1
/dev/sda2 none swap sw,pri=1 0 0
/dev/sdb2 none swap sw,pri=1 0 0
/dev/sdc2 none swap sw,pri=1 0 0
/dev/sdd2 none swap sw,pri=1 0 0
/dev/sda1 /boot ext2 noatime 0 2
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /proc/openprom openpromfs defaults 0 0
Code: Select all
lavon ~ # cat /etc/silo.conf
partition = 1
root = /dev/md0
timeout = 100
image = /kernel-2.4.31
label = linux
append="md=0,/dev/sda4,/dev/sdb4,/dev/sdc4,/dev/sdd4"
Code: Select all
lavon ~ # fdisk /dev/sda
Command (m for help): p
Disk /dev/sda (Sun disk label): 19 heads, 80 sectors, 2733 cylinders
Units = cylinders of 1520 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1 0 90 68400 83 Linux native
/dev/sda2 u 90 180 68400 82 Linux swap
/dev/sda3 0 2733 2077080 5 Whole disk
/dev/sda4 180 2733 1940280 fd Linux raid autodetect
(All 4 drives look like /dev/sda.)