Bilgisayarım yakın bir zamanda bir donanım güncellemesi yaptı ve şimdi Windows 7'de çalışıyor. Ubuntu 11.04'ü USB çubuğumdan indirilen ubuntu.com adresinden aldığım ISO'yu kullanarak çift önyükleme olarak yüklemeye karar verdim.
USB çubuğu ile yeniden başlatarak, Ubuntu 11.04'ü seçerek seçeneği belirleyebildim:
Install Ubuntu 11.04 side by side with Windows 7 (or something like that).
Yükleme sırasında hatayla karşılaşılmadı. Ancak yeniden başlatırken GRUB yoktu; sistem doğrudan Windows 7'ye girdi.
Cevapları ararken, şunu buldum:
- http://essayboard.com/2011/07/12/how-to-dual-boot-ubuntu-11-04-and-windows-7-the-traditional-way-through-grub-2/
- http://ubuntuforums.org/showthread.php?t=1774523
Talimatları doğrultusunda aldım:
Boot Bilgisi Komut Dosyası 17 Mayıs 2011'den itibaren 0,60
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub on this drive.
sda1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grldr /bootmgr /Boot/BCD /grldr
sda2: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sdb1: __________________________________________________ ________________________
File system: vfat
Boot sector type: SYSLINUX 4.02 debian-20101016 ...........>...r>....... ......0...~.k...~...f...M.f.f....f..8~....>2}
Boot sector info: Syslinux looks at sector 1437504 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
The integrity check of the ADV area failed. According
to the info in the boot sector, sdb1 starts at sector
0. But according to the info from fdisk, sdb1 starts
at sector 62.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys
sdc1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc2: __________________________________________________ ________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdc5: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc6: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc7: __________________________________________________ ________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sdc8: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
Ubuntu'ya geri dönüp koşarak sudo fdisk -lbunları aldım:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002f393
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 19458 156185600 7 HPFS/NTFS
Disk /dev/sdb: 2011 MB, 2011168768 bytes
62 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 3844 * 512 = 1968128 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f2ab9
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1021 1962331 c W95 FAT32 (LBA)
Disk /dev/sdc: 1000.2 GB, 1000202043392 bytes
255 heads, 63 sectors/track, 121600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00261ddd
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 60657 487222656+ 7 HPFS/NTFS
/dev/sdc2 60657 121600 489527681 5 Extended
/dev/sdc5 120563 121600 8337703+ 82 Linux swap / Solaris
/dev/sdc6 120073 120562 3930112 82 Linux swap / Solaris
/dev/sdc7 60657 119584 473328640 83 Linux
/dev/sdc8 119584 120072 3923968 82 Linux swap / Solaris
Devam etmeli ve aşağıdakileri yapmalı mıyım?
Ubuntu 11.04'ün sdb1 cihazına yüklendiğini varsayarsak, şunu yapın:
sudo mount /dev/sdb1 /mntO zaman şunu yap:
sudo grub-install--root-directory=/mnt /dev/sdbKök dizinin önünde iki çizgi olduğuna dikkat edin, ve sdb1 değil, sdb kullanmıyorum.
15. adımdaki komut Grub 2'yi yeniden yüklediğinden, şimdi temizlemek için / mnt (yani sdb1) bağlantısını kesmemiz gerekiyor.
Bunu yap:
sudo umount /mntUbuntu 11.04 CD / DVD'yi yeniden başlatın ve disk tepsisinden çıkarın. Ubuntu 11.04'e giriş yapın (başka seçeneğiniz yok, ancak bu noktada Ubuntu 11.04'e giriş yapacaksınız).
Ubuntu 11.04'te bir terminal açın (gerçek kurulum kullanarak, canlı CD / DVD değil). Bu komutu yürütün:
sudo update-grubMakineyi yeniden başlatın.