root na SW RAID1
Radek Vybiral
Radek.Vybiral na vsb.cz
Úterý Říjen 21 09:52:08 CEST 2003
On Tue, 21 Oct 2003, Zdenek Mazanec wrote:
> > lilo nakofigurovane:
> > boot=/dev/md0
>
>
> V dokumentaci k me distribuci (mdk 9.1) se v casti venovane bootloaderum
> pise, ze v tuto chvili neexistuje zadny bootloder (z dvojice grub a lilo
> ;-) ) ktery by podporoval bootovani ze soft raidu.
> Vcera jsem o tom zrovna diskutoval s kolegou a ten tvrdil, ze se mu to
> podarilo, ale nejak nebyl schopen mi takovy system ukazat (shodou okolnosti
> je to debianista).
>
> Otazka tedy zni: jde to vubec? Podle dokumentace nikoliv (aspon podle te
> me). S vystrcenym /boot mimo raid mi to chodi taky.
Máte zastarelé informace.
Dělal jsem na RH software RAID1 s bootováním podle tohoto návodu
http://www.faqs.org/docs/Linux-mini/Boot+Root+Raid+LILO.html
V RH 7.x není nové Lilo, které umí bootovat z RAIDu, musel jsem si
nainstalovat novější, v MDK je nové a neměl by v tomto případě být žádný
problém, viz sekce v man lilo.conf:
boot=<boot-device>
Sets the name of the device (e.g. a hard disk partition)
that contains the boot sector. If this keyword is omitted, the
boot sector is read from (and possibly written to) the device
that is currently mounted as root. A raid installation is
initiated by specifying a RAID1 device as the boot device;
e.g., "boot=/dev/md0". Note that LILO version 22.0 and later
operate diffenently from earlier versions with respect to the
actual location of the boot records.
R.V.
Další informace o konferenci Linux