lkml.org 
[lkml]   [1999]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: hd size > bios support?
Hi Karl.

> I would like to put a larger hard drive in my laptop, but I
> think I read something like that the BIOS won't support a larger
> one. Will it work with Linux anyway, if I boot with a hard
> drive geometry kernel command line option?

You don't even need that, as Linux doesn't care what the BIOS
supports. All that matters is that the contents of /boot are all
located within the first 1023 cylinders, and I normally ensure this by
making /boot a separate partition corresponding to the first ~16M of
the primary hard drive, as follows:

Q> # fdisk -l /dev/hda
Q> Disk /dev/hda: 255 heads, 63 sectors, 623 cylinders
Q> Units = cylinders of 16065 * 512 bytes
Q>
Q> Device Boot Start End Blocks Id System
Q> /dev/hda1 * 1 2 16033 83 Linux native
Q> /dev/hda2 3 18 128520 82 Linux swap
Q> /dev/hda3 19 218 1606500 83 Linux native
Q> /dev/hda4 219 623 3253162 5 Extended
Q> /dev/hda5 219 379 1293200 83 Linux native
Q> /dev/hda6 380 623 1959898 83 Linux native
Q> # cat /etc/fstab
Q> /dev/hda3 / ext2 defaults 1 1
Q> /dev/hda1 /boot ext2 defaults 1 1
Q> /dev/hda5 /home ext2 defaults 1 1
Q> /dev/hda6 /home/ftp/pub ext2 defaults 1 1
Q>
Q> /dev/hda2 swap swap defaults
Q>
Q> /proc /proc proc defaults
Q>
Q> /dev/cdrom /home/ftp/cdrom iso9660 defaults,noauto,user
Q> /dev/fd0 /fd0 auto defaults,noauto,user
Q>
Q> /dev/sda4 /zip auto defaults,noauto,user
Q> /dev/sda1 /zip auto defaults,noauto,user
Q> /dev/sda2 /zip auto defaults,noauto,user
Q> /dev/sda3 /zip auto defaults,noauto,user
Q> #

Note that the reason for splitting /dev/hda5 and /dev/hda6 into two
partitions was to avoid problems connected with the 2G limit, and I
chose to use two partitions smaller than that limit rather than one
partition larger than it.

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html




-
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.022 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site