[Pardus-kullanicilari] grub

Selim Tavşan selimtavsan at gmail.com
24 Mar 2007 Cmt 20:59:45 EET


2007/3/24, Alişan Balta <alooma at gmail.com>:
>
> root (hd0 dan sonra her tab tuşuna basışımda  bir alt satıra gecti ve
> "root (hd0" komutunu tekrar yazdı herhangi bir liste gelmedi.


bakın benim MBR'de gentoo'nun grubu vardı, aşağıdaki konsol çıktısında
Pardus'un grubunu yükledim.
----------------------------------------------
asus Selim # grub
Probing devices to guess BIOS drives. This may take a long time
          Pardus Linux (http://www.pardus.org.tr), TUBITAK/UEKAE
 [ 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>

grub> root (hd0,
 Possible partitions are:
   Partition num: 0,  Filesystem type is fat, partition type 0x1b
   Partition num: 1,  Filesystem type unknown, partition type 0x7
   Partition num: 4,  Filesystem type is fat, partition type 0xb
   Partition num: 5,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 6,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 7,  Filesystem type unknown, partition type 0x82

grub> root (hd0,5)

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p
(hd0,5)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.

grub> quit
asus Selim #

siz diskinizin bölümlerini görmek için fdisk -l komutunu grub komutunudan
önce girip görebilirsiniz.
benim için fdisk -l aşağıdaki gibidir.

-------------------
asus Selim # fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         243     1951866   1b  Hidden W95 FAT32
/dev/hda2   *         244        2875    21141540    7  HPFS/NTFS
/dev/hda3            2876        9729    55054755    f  W95 Ext'd (LBA)
/dev/hda5            2876        6663    30427078+   b  W95 FAT32
/dev/hda6            6664        8703    16386268+  83  Linux
/dev/hda7            8704        9663     7711168+  83  Linux
/dev/hda8            9664        9729      530113+  82  Linux swap / Solaris
asus Selim #

yine aynı durum başınıza gelirse aşağıdakileri deneyin setup (hd0) komutunda
hata verecek veya
benimkinde olduğu gibi detayları detayları yazacaktır.
1)
grub> root (hd0,5)
grub> setup (hd0)
2)
grub> root (hd0,6)
grub> setup (hd0)
3)
grub> root (hd0,7)
grub> setup (hd0)



kolay gelsin...
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.uludag.org.tr/pardus-kullanicilari/attachments/20070324/7e87e835/attachment.html 


Pardus-kullanicilari mesaj listesiyle ilgili daha fazla bilgi