afaik un boot manager nu are ce cauta intr-o extended.

axl

On Thu, 2003-01-23 at 01:54, Corneliu Rudeanu wrote:
> 
> Nu imi mai functioneaza grub-install /dev/hda. Configuratia e asa:
> 
> [root@bench root]# fdisk -l
> omitting empty partition (5)
> 
> Disk /dev/hda: 255 heads, 63 sectors, 2498 cylinders
> Units = cylinders of 16065 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1       382   3068383+   7  HPFS/NTFS
> /dev/hda2           383      2498  16996770    5  Extended
> /dev/hda5           383       892   4096512   83  Linux
> /dev/hda6           893       957    522081   82  Linux swap
> /dev/hda7           958      1019    497983+   6  FAT16
> /dev/hda8          1020      2498  11880036    7  HPFS/NTFS
> 
> A se nota warning-ul afisat in prima linie si ext3-ul pe /dev/hda5. Apoi,
> in /etc/grub.conf (symb ln la /boot/grub/grub.conf cum il pune RH 7.2) am:
> 
> default=1
> timeout=10
> splashimage=(hd0,4)/boot/grub/splash.xpm.gz
> title Windows 2000
>       rootnoverify (hd0,0)
>       chainloader +1
> title Linux (2.4.20)
>       root (hd0,4)
>       kernel /boot/vmlinuz-2.4.20 ro root=/dev/hda5
>       initrd /boot/initrd-2.4.7-10.img
> 
> Cand dau 
> [root@bench root]# grub-install /dev/hda
> 
>     GRUB  version 0.90  (640K lower / 3072K upper memory)
> 
>  [ Minimal BASH-like line editing is supported.  For the first word, TAB
>    lists possible command completions.  Anywhere else TAB lists the 
> possible
>    completions of a device/filename. ]
> 
> grub>                                                                          
> root (hd0,4)
>  Filesystem type unknown, partition type 0x5
> 
> grub>                                                                          
> setup  --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)
> 
> Error 17: Cannot mount selected partition
> 
> grub>                                                                          
> quit
> 
> Ei bine, ruland grub la mana (nu via grub-install) am asa:
> grub> root (hd0,4)
>  Filesystem type unknown, partition type 0x5
> 
> Desi asta e exact hda5-ul pe care am eu linux-ul. DAR daca dau:
> grub> root (hd0,5)
>  Filesystem type is ext2fs, partition type 0x83
> totul e ok.
> 
> Explicatia poate fi asta: am avut (original) linux-ul pe hda6 (hd0,5) dar 
> am scapat goaza sa faca o partitie si mi le-a rearanjat. Am butat editand 
> (din grub) parametrii de start. Nu vad (doc/disk) unde ar putea sa fi 
> retinut treaba asta cu fosta poza a partitiilor.
> 
> Faza futere e imi merge setup... pentru aceasta partitie si chiar se 
> instaleaza corect (manual din grub, nu grub-install).
> 
> Ce pot sa-i fac? Ma apuca disperarea de ora 2 noaptea!
> 
> Multumesc anticipat,
> rudigrec
> 
> 
> 
> ---
> Pentru dezabonare, trimiteti mail la 
> [EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
> REGULI, arhive si alte informatii: http://www.lug.ro/mlist/
> 
> 


---
Pentru dezabonare, trimiteti mail la 
[EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui