Lines 354-363
Link Here
|
354 |
|
354 |
|
355 |
<p> |
355 |
<p> |
356 |
The most critical part of understanding GRUB is getting comfortable with how |
356 |
The most critical part of understanding GRUB is getting comfortable with how |
357 |
GRUB refers to hard drives and partitions. Your Linux partition |
357 |
GRUB refers to hard drives and partitions. Your /boot partition containing the |
358 |
<path>/dev/sda2</path> will most likely be called <path>(hd0,1)</path> under |
358 |
Linux kernel and maybe the initrd at <path>/dev/sda2</path> will most likely |
359 |
GRUB. Notice the parentheses around the <path>hd0,1</path> - they are |
359 |
be called <path>(hd0,1)</path> under GRUB. Notice the parentheses around the |
360 |
required. |
360 |
<path>hd0,1</path> as they are required. |
361 |
</p> |
361 |
</p> |
362 |
|
362 |
|
363 |
<p> |
363 |
<p> |
Lines 380-385
Link Here
|
380 |
</p> |
380 |
</p> |
381 |
|
381 |
|
382 |
<p> |
382 |
<p> |
|
|
383 |
For your reference here is the mapping of the partition scheme we are using in this |
384 |
handbook into their correspondent GRUB names assuming that <path>/dev/sda</path> |
385 |
is seen as <path>hd0</path>. |
386 |
</p> |
387 |
|
388 |
<table> |
389 |
<tr> |
390 |
<th>Partition</th> |
391 |
<th>Filesystem</th> |
392 |
<th>Size</th> |
393 |
<th>GRUB Legacy name</th> |
394 |
<th>Description</th> |
395 |
</tr> |
396 |
<tr> |
397 |
<ti><path>/dev/sda1</path></ti> |
398 |
<ti>(bootloader)</ti> |
399 |
<ti>2M</ti> |
400 |
<ti>(hd0,0)</ti> |
401 |
<ti>BIOS boot partition</ti> |
402 |
</tr> |
403 |
<tr> |
404 |
<ti><path>/dev/sda2</path></ti> |
405 |
<ti>ext2</ti> |
406 |
<ti>128M</ti> |
407 |
<ti>(hd0,1)</ti> |
408 |
<ti>Boot partition</ti> |
409 |
</tr> |
410 |
<tr> |
411 |
<ti><path>/dev/sda3</path></ti> |
412 |
<ti>(swap)</ti> |
413 |
<ti>512M or higher</ti> |
414 |
<ti>(hd0,2)</ti> |
415 |
<ti>Swap partition</ti> |
416 |
</tr> |
417 |
<tr> |
418 |
<ti><path>/dev/sda4</path></ti> |
419 |
<ti>ext4</ti> |
420 |
<ti>Rest of the disk</ti> |
421 |
<ti>(hd0,3)</ti> |
422 |
<ti>Root partition</ti> |
423 |
</tr> |
424 |
</table> |
425 |
|
426 |
<p> |
383 |
Having gotten the feel for that, it is time to install GRUB. |
427 |
Having gotten the feel for that, it is time to install GRUB. |
384 |
</p> |
428 |
</p> |
385 |
|
429 |
|