DonanımHaber Mini sürüm 2 Ocak 2026 tarihi itibariyle kullanımdan kalkacaktır. Bunun yerine daha hızlı bir deneyim için DH Android veya DH iOS uygulamalarını kullanabilirsiniz.
Arama butonu
Bu konudaki kullanıcılar: 1 misafir, 1 mobil kullanıcı
6
Cevap
1024
Tıklama
0
Öne Çıkarma
Dual Boot sorunu Windows & Ubuntu
K
15 yıl (2598 mesaj)
Yarbay
Konu Sahibi

Problem su, Ubuntu ardindan Windows kurdum... Ilk basta Ubuntu uctu, Grub ile halledip acmayi basardim fakat bu sefer de Windows'tan oldum :D... Aradim taradim, soylenilenleri yaptim ama acilista herhangi bir OS secme menusu gelmiyor, 3-5 saniyede Ubuntu aciliyor...

Yardimci olabilecek birkac bilgi vereyim,

Fdsik - l sonucu ;

/dev/sda1               1        2432    19530753    5  Extended 
/dev/sda2 2432 24316 175780864 83 Linux
/dev/sda3 * 24317 60800 293057730 7 HPFS/NTFS
/dev/sda5 1 2432 19530752 82 Linux swap / Solaris


Bu da /boot/grub/menu.lst dosyasinin son kismi , en sondaki Windows kismini ben ekledim [ gerci bir ise yaramadi :] ]

## ## End Default Options ## 

title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic
uuid c85bcba5-372b-4dc5-824e-cf49af42a907
kernel /boot/vmlinuz-2.6.32-24-generic root=UUID=c85bcba5-372b-4dc5-824e-cf49af42a907 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic

title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic (recovery mode)
uuid c85bcba5-372b-4dc5-824e-cf49af42a907
kernel /boot/vmlinuz-2.6.32-24-generic root=UUID=c85bcba5-372b-4dc5-824e-cf49af42a907 ro single
initrd /boot/initrd.img-2.6.32-24-generic

title Chainload into GRUB 2
root c85bcba5-372b-4dc5-824e-cf49af42a907
kernel /boot/grub/core.img

title Ubuntu 10.04.1 LTS, memtest86+
uuid c85bcba5-372b-4dc5-824e-cf49af42a907
kernel /boot/memtest86+.bin

title Windows XP
root (hd0,2)
makeactive
chainloader +1

### END DEBIAN AUTOMAGIC KERNELS LIST

Neyi yanlis yapiyorum ?.. Acilista OS secme menusunun gelmesi ve benim Ubuntu & Windows arasinda secim yapabilme sansim olmasi icin ne yapmam gerekir ?..

Acaba su hd0,2 kismi mi yanlis? sda2 sda3 hd0,1 hd0,2 olmuyorlar mi yoksa ?..





< Bu mesaj bu kişi tarafından değiştirildi keyn -- 27 Ağustos 2010; 22:09:30 >

P
15 yıl (5822 mesaj)
Yarbay

ilk tablodaki yildiz aktif disk bolumunu gosteriyor. ubutu'yu sda2 bolumune kurmus olsan da aktif bolum sda3 oldugu icin grub o bolume kurulmus. ayni bolume sonradan windows kurunca windows boot loader grub yerine sda3'e kurulmus. grub'u duzelteyim derken bu sefer de muhtemelen windows bootloader'i silmis olabilirsin.

once windows cd'si ile mbr tamiri yap. daha sonra ubuntu cd'si ile bilgisayari baslat ve gparted ile sda2'yi aktif bolum olarak sec. bunu yapman icin bolumun uzerine sag tiklayip flags seceneginden boot yazani secmen yeterli. daha sonra grub2-yi bu bolume tekrar kur.


Bu mesaja 1 cevap geldi.
K
15 yıl (2598 mesaj)
Yarbay
Konu Sahibi

Windows CDsini taktim, her ne kadar R ile repair yap gibi bir soru cikmasa da kendi kendine Windows acilmaya basladi :D ...

Ardindan Ubuntu Live CD ile acip GParted ile sda2'yi aktif bolum olarak sectim... Ardindan izledigim yol su;

sudo mount /dev/sda2 /mnt
sudo grub-install --root-directory=/mnt/ /dev/sda

Bunlari yaptiktan sonra makineyi resetleyip normal actim, Ubuntu acildi... Ardindan Terminal'i acip

sudo update-grub

komutunu girdim...

Simdi fdsik -l komutunun ciktisi soyle ;

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1 1 2432 19530753 5 Extended
/dev/sda2 * 2432 24316 175780864 83 Linux
/dev/sda3 24317 60800 293057730 7 HPFS/NTFS
/dev/sda5 1 2432 19530752 82 Linux swap / Solaris


Simdi sorun acilis menusunun gelmesinde... Neden gelmiyor olabilir ?.. Timeout kismini 10 da 10 yaptim halbuki acaba hizli mi geciyor diye...

Acaba menu.lst'deki su kisimda mi bir problem var ;

title Windows XP
root (hd0,2)
makeactive
chainloader +1

?..





< Bu mesaj bu kişi tarafından değiştirildi keyn -- 28 Ağustos 2010; 10:14:16 >
Bu mesaja 1 cevap geldi.
P
15 yıl (5822 mesaj)
Yarbay

grub2 menu.lst kullanmiyor. yukaridaki yukleme sekli eski versiyonu da yuklemis olabilir. asagidaki komutlarin ciktisini buraya yapistirir misin?

cat /boot/grub/grub.cfg

cat /boot/grub/menu.lst

grub cfg'de set timeout seklinde degerler var. biri 1 digeri 10 olmali. eger degilse sudo /boot/grub/grub.cfg ile dosyayi acip bunlari duzeltebilirsin.





< Bu mesaj bu kişi tarafından değiştirildi positroN -- 28 Ağustos 2010; 12:30:39 >
Bu mesaja 1 cevap geldi.
K
15 yıl (2598 mesaj)
Yarbay
Konu Sahibi

Oncelikle ilgin icin tesekkurler :] ...

cat /boot/grub/grub.cfg ciktisi ;

# 
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set c85bcba5-372b-4dc5-824e-cf49af42a907
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set c85bcba5-372b-4dc5-824e-cf49af42a907
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set c85bcba5-372b-4dc5-824e-cf49af42a907
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c85bcba5-372b-4dc5-824e-cf49af42a907 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set c85bcba5-372b-4dc5-824e-cf49af42a907
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c85bcba5-372b-4dc5-824e-cf49af42a907 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set c85bcba5-372b-4dc5-824e-cf49af42a907
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set c85bcba5-372b-4dc5-824e-cf49af42a907
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

cat /boot/grub/menu.lst ciktisi

# menu.lst - See: grub(8), info grub, update-grub(8) 
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=c85bcba5-372b-4dc5-824e-cf49af42a907 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=c85bcba5-372b-4dc5-824e-cf49af42a907

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic
uuid c85bcba5-372b-4dc5-824e-cf49af42a907
kernel /boot/vmlinuz-2.6.32-24-generic root=UUID=c85bcba5-372b-4dc5-824e-cf49af42a907 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic

title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic (recovery mode)
uuid c85bcba5-372b-4dc5-824e-cf49af42a907
kernel /boot/vmlinuz-2.6.32-24-generic root=UUID=c85bcba5-372b-4dc5-824e-cf49af42a907 ro single
initrd /boot/initrd.img-2.6.32-24-generic

title Chainload into GRUB 2
root c85bcba5-372b-4dc5-824e-cf49af42a907
kernel /boot/grub/core.img

title Ubuntu 10.04.1 LTS, memtest86+
uuid c85bcba5-372b-4dc5-824e-cf49af42a907
kernel /boot/memtest86+.bin

title Windows XP
root (hd0,2)
makeactive
chainloader +1

### END DEBIAN AUTOMAGIC KERNELS LIST


Ciktilar boyle...

Grub.cfg'de hd(0,3) demis, Benim sda2'deki yuklu Ubuntu hd(0,3) mu oluyor ?.. Hazir lafi gecmisken sunu da sorayim, bunun belli bir sirasi var midir yani sda2 ise hd(0,3) olur, sda3 ise hd(0,4) olur gibi ?..

Bir de insmod ext2 diyor, ne anlama geliyor o?.. Ben Ubuntu yuklerken ext4 olarak formatlamistim... Belki bununla alakasi vardir problemin ?..


Bu mesaja 1 cevap geldi.
P
15 yıl (5822 mesaj)
Yarbay

her sey normal gibi gorunuyor. cd ile acinca eski grub kurulmus herhalde. bir de hard diskten basladiginda sudo grub-install --force /dev/sda2 ardindan sudo update-grub komutunu deneyebilir misin?


Bu mesaja 1 cevap geldi.
K
15 yıl (2598 mesaj)
Yarbay
Konu Sahibi

Son durum su, WinXP CD'sinde nedense Repair cikmiyordu... Arastirdim ettim, MS'in sitesinden Recovery Console diye bir program indirdim... Bunu yukleyince acilista menu cikti

Win XP
Recovery Console

seklinde... Recovry Console'u actim ve FIXBOOT , FIXMBR komutlarini girdim...

Sanirim Win XP boot kismi tertemiz olmustur artik...

Ama muhtemelen de Ubuntu kismi uctu, simdi Ubuntu GRUB2'yi Live CD ile duzgun bir sekilde kurmam gerekiyor sanirim... Onu duzgun sekilde kurmama ragmen yine olmazsa , mecbur sistemi yeniden yukleyecegim...



DH Mobil uygulaması ile devam edin. Mobil tarayıcınız ile mümkün olanların yanı sıra, birçok yeni ve faydalı özelliğe erişin. Gizle ve güncelleme çıkana kadar tekrar gösterme.