Linux

Master Boot Record

7

, , , .

MBR Master Boot Record 512 , , , .

BIOS . , , MBR. , BIOS. MBR , . . .

BIOS, UEFI BIOS, . , UEFI , . BIOS, UEFI, HDD MBR, GPT - GUID Partition table. . UEFI, UEFI GPT , BIOS MBR. GPT MBR. MBR GPT, , MBR , , , GPT , LBA0, LBA1, LBA2. GPT , , , . Linux . MBR .

, . fdisk l :

fdisk l

/dev/sda1 , , MBR. , - dd. , . , , .. . : dd if=/dev/sda of=/root/backup.mbr bs=512 count=1. if , of - , bs 1 512, count - .

     MBR

, , , MBR.


Lilo Linux Loader

  Lilo  Linux Loader

Linux Unix , , . , Lilo , 16 . Linux.

GRUB2, Lilo, .

- apt-get install lilo.

apt-get install lilo

, lilo, , , . . liloconfig. , . cat /etc/lilo.conf .

, lilo, . . lba32. --, logical block , .

logical block

boot MBR. , , /dev/disks/by-id/ata* uuid . , . Lilo , MBR .

  • Verbose = 1 Verbose level - , .
  • Install = menu - , . Lilo 3 . , .
  • Prompt , . 10. .

, . liloconfig . , . read-only. lable, . , OS.


GRUB

GRUB , Lilo. Lilo . Grub legacy. , . .. , GRUB, .

GRUB 2.

   GRUB 2

. GRUB 2 . , , . , MS Windows NTDLR. Linux. , - , - lilo, Grub grub-install /dev/sda. grub-install version.

cat /boot/grub/grub.cfg.

, lilo GRUB. , . , /etc/grub.d /etc/default/grub.

.

. . , grub_default = 0 , grub_hidden_timeout = 0 . grub_hidden_timeout_quiet = true - , .. . . Grub_cmdlin_linux_default = quiet , splash - .

.

/etc/grub.d . , . . , update-grub.


50% Merion Academy