[Çözüldü] Boot sorunu (grub)

Başlatan fatihx, 19 Eylül 2009 - 00:56:44

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçi konuyu incelemekte.

fatihx

Herkese selamlar hem forumda hemde linux de yeniyim.

Netten arastırma yaptım ancak sorunumu cozemedım bu yuzden danısmak ıstedım.

1 tanesı sata bır tanesi IDE olmak uzere 2 adet hdd mevcut.

Sata olanda 10 gb Ubuntu, 2 gb swap ve 230 gb da yapılandırılmamıs partision mevcut. Yapılandırılmamıs olanı depo alanı olarak hem windowsxp den hemde linuxden kullanmayı dusunuyorum.

IDE olanda ise 32 gb Xp ve 45 gb depo alanı mevcut.

Bios ayarlarından sata gosterılemedıgı icin IDE hdd boot oncelıgınde ayarlı.
Ubuntu sorunsuz calısmakta ancak grub da gorunen (otomatık ayarlanan) xp boot etmıyor.
hd0,0 ın butun kombınasyonlarını (0,1  0,2 0,3 dahi) denedim ancak boot etmıyor. Ya starting up dedıkten sonra kıtlenıyor yada o sekılde kalıyor. Ancak ubuntu gayet guzel reboot edıyor. Ubunt hd1.0'da dıye bılmeme ragmen windows icin 1,0 1,1 1,2 yı dahı denedım ancak sonuc yok.

IDE sdb1, linux ise sda olarak gorunuyor.

Tesekkurler

Not:   find /boot/grub/stage1  komutunun çıktısı hd0,0  sanırım bu windowsxp kurulu IDE ye ait partision nın hd1,0 olması gerektıgını gosterıyor. Ancak bunu ayarlayıp reset sonrasında xp e gecmek ıstedıgımde anlamsız karakterler dızesı almaktayım (ki içerisinde gulen surat ok işareti vb bulunmakta ve oylece kalmakta.)

menu.lst çıktısı ise şöyle :

-------------------------------------------------------------------------------------------------------
# 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-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
# 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=d8ff0d59-4898-4815-a509-888e08fcccc1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=d8ff0d59-4898-4815-a509-888e08fcccc1

## 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 9.04, kernel 2.6.28-15-generic
uuid d8ff0d59-4898-4815-a509-888e08fcccc1
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=d8ff0d59-4898-4815-a509-888e08fcccc1 ro quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
uuid d8ff0d59-4898-4815-a509-888e08fcccc1
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=d8ff0d59-4898-4815-a509-888e08fcccc1 ro  single
initrd /boot/initrd.img-2.6.28-15-generic

#title Ubuntu 9.04, kernel 2.6.28-11-generic
#uuid d8ff0d59-4898-4815-a509-888e08fcccc1
#kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=d8ff0d59-4898-4815-a509-888e08fcccc1 ro quiet splash
#initrd /boot/initrd.img-2.6.28-11-generic
#quiet

#title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
#uuid d8ff0d59-4898-4815-a509-888e08fcccc1
#kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=d8ff0d59-4898-4815-a509-888e08fcccc1 ro  single
#initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid d8ff0d59-4898-4815-a509-888e08fcccc1
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
#on /dev/sdb1
title Microsoft Windows ZORT XP Professional
rootnoverify (hd1,0)
savedefault
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

---------------------------------------------------------------------------------------------------------------------------------------

bayrama denk geldık cevap alamıyoruz, bahta bakınız : )

heartsmagic

Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

fatihx

Alıntı yapılan: heartsmagic - 21 Eylül 2009 - 21:41:07
sudo fdisk -l ne diyor?

cıktı şöyle;

Disk /dev/sda: 250.0 GB, 250059350016 bayt
255 heads, 63 sectors/track, 30401 cylinders
Units = silindir of 16065 * 512 = 8225280 bytes
Disk identifier: 0x07dc07dc

   Aygıt Açılış    Başlangıç     Bitiş  BlokSayısı Kml Sistem
/dev/sda1   *           1        1216     9767488+  83  Linux
/dev/sda2            1217       30401   234428512+   5  Ek
/dev/sda5            1217        1459     1951866   82  Linux takas / Solaris
/dev/sda6            1460       30401   232476583+   6  FAT16

Disk /dev/sdb: 80.0 GB, 80060424192 bayt
255 heads, 63 sectors/track, 9733 cylinders
Units = silindir of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2b3f33a3

   Aygıt Açılış    Başlangıç     Bitiş  BlokSayısı Kml Sistem
/dev/sdb1   *           1        3952    31744408+   7  HPFS/NTFS
/dev/sdb2            3953        9732    46427850    f  W95 Ext'd (LBA)
/dev/sdb5            3953        9732    46427818+   7  HPFS/NTFS

garafatma

menu.lst çıktındaki map girişlerini silersen sorunun çözülür gibime geliyor.
Bira, Tanrı'nın bizi sevdiğinin ve eğlenmemizi istediğinin kanıtıdır.

>-- Askıdaki Çeviri --< Ubuntu Türkçe Çevirilerine Sizde Destek Olun
Elveda metal müziğin tanrısı... \m/ Ronnie James DIO: 1942 - 2010

fatihx

Alıntı yapılan: keiser_soze - 22 Eylül 2009 - 01:42:26
menu.lst çıktındaki map girişlerini silersen sorunun çözülür gibime geliyor.

arastırma yaparken o map gırıslerıne rastlamadım dıger menu.lst lerde ancak ne oldugunu tam bılmedıgımden sılmedım sorun yasamamak ıcın. ne oldugu hakkında bılgınız var mı ?

garafatma

map girişleri aslında grub'ı yanıltmak amaçlı kullanılıyor bildiğim kadarıyla, ancak sizin menu.lst'nizde zaten windowsun yeri düzgün görünüyor fdisk çıktısından anladığım kadarıyla

hd(1,0) olarak.
Bira, Tanrı'nın bizi sevdiğinin ve eğlenmemizi istediğinin kanıtıdır.

>-- Askıdaki Çeviri --< Ubuntu Türkçe Çevirilerine Sizde Destek Olun
Elveda metal müziğin tanrısı... \m/ Ronnie James DIO: 1942 - 2010

localhost

Sizinde BOOT bölümlerinde anormallik var. Iki disk icinde BOOT secenegi isaretli. http://forum.ubuntu-tr.net/index.php?topic=12318.0
Linkteki baslikla sizin sorununuz ayni. Bence o konuyu bir inceleyin.
Linux LPIC1 - MCSA

fatihx

keiser_soze'nin dediği gibi map gırdılerını sıldım ve olması gerektıgını dusundugum gıbı hd1,0 olarak ayarladım duzeldı suan windowsda acılıyor. cok tesekkur ederım.

kirmizi: sorun var derken suan bır sorun gorunmuyor ama duzeltılmesı gereken bır nokta varsa bılgılendırırsenız sevınırım.

localhost

Senin sorunun windows bot etmemesi degilmi?
Linux LPIC1 - MCSA

fatihx

Alıntı yapılan: Kirmizi - 22 Eylül 2009 - 16:32:21
Senin sorunun windows bot etmemesi degilmi?

evet oyleydı ancak menu.lst dosyasında windows kısmındaki map girişlerini sıldıgımde sorun duzeldı.
daha oncede h1,0 denemiştim olmamıstı ancak map gırdılerını sılınce suan sorun kalmadı boot edıyor.
suan sorun olusturan bır durum yok ancak menu.lst dosyasında bır sorun goruyorsanız bunu bılmek ve duzeltmek ısterım. cok detaylı bılgım olmadıgından daha ılerde sorun yasamamak adına.

garafatma

Herhangi bir sıkıntı görünmüyor, en azından ben göremedim. Sorun çözüldüğüne göre konuyu kapatabiliriz.
Bira, Tanrı'nın bizi sevdiğinin ve eğlenmemizi istediğinin kanıtıdır.

>-- Askıdaki Çeviri --< Ubuntu Türkçe Çevirilerine Sizde Destek Olun
Elveda metal müziğin tanrısı... \m/ Ronnie James DIO: 1942 - 2010