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

Re: funky drive size?

Jeff Layton wrote:
> Havent seen this on SPARC's but have occasionally on Intel boxen...you may
> need to pass drive parameters to the kernel at boot time. Not sure of the
> specifics of this with sparc's tho...
> -- Jeff
> On Sat, 11 Mar 2000, AJ Prowant wrote:
> > I'm trying to install frozen onto my sparc20.. When I tftpboot with the
> > current tftpboot image from marcus.debian.net, the kernel sees my
> > harddrive correctly (as a 2gb drive) but when I try to fdisk it, it only
> > sees it as a 2.8mb drive.. Openbsd had this exact same problem.  Netbsd
> > worked fine though..  Has anyone seen anything like this?  I tried
> > playing with the expert mode in fdisk, but I cant get it to see all
> > 2gb..

Some infos in the first sector, like #heads, #cylinders... could be wrong.
Try fdisk -s /dev/sdX to create a new SUN DiskLabel.
Or dd the first sector with full of zeroes (dd if=/dev/zero of=/dev/sdX count=1)
before running fdisk.

Hope this helps you.

 Eric Delaunay                 | S'il n'y a pas de solution, c'est qu'il n'y
 delaunay@lix.polytechnique.fr | a pas de problème.   Devise Shadok.

Reply to: