MBR sorun

Başlatan Pozitron, 20 Nisan 2015 - 23:17:26

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

Pozitron

Merhaba arkadaşlar,
Masaüstü bilgisayarıma(UEFI yoktur.) Debian yüklemiştim.Yükleme sırasında MBR yazılsın mı diyordu fakat görünen işletim sistemlerinde windows yoktu,ben yine de tamam dedim ve MBR'ı değiştirmiş oldum.Windows haliyle grubda yoktu artık.Boot-repair ile ilk grubu düzeltmeye çalıştım ve boot-repairde MBR geri yükle görünce Debian'ı kurarken yaptıklarım aklıma geldi.Sonra boot-repairdaki mbr seçeneklerinden mbrı ubuntu yaptım,ve ardından "missing operating system" hatası aldım.Sonra Ubuntu live-cd ile boot repairden mbrı debian'a geri çevirdim;fakat yine aynı hatayı aldım.Ne yapmalıyım?
To follow the path,look to the master,follow the master,walk with the master,see through the master,become the master.

natgho

Komple baştan temizlik yapmak zorunda kalabilirsin.
Eğer eriniyorsan ya da uğraşmak istiyorsan yabancı bir kaynakta şöyle bir anlatım yapılmış:
Alıntı Yap1. Boot Debian

2. Install gparted via Terminal (assumed that you have Ethernet or Wifi connection)
CODE: SELECT ALL     sudo updatedb
     sudo apt-get update
     apt-cache search gparted
     sudo apt-get install gparted
     

3. Execute gparted
APPLICATIONS MENU -> SYSTEM -> Gparted

4. Look at possibility of two or three PHYSICAL Drives in Top Right Corner of Gparted Window.
You also get a Graphic Display of what Partitions, Sizes, Types, are on the current Selected PHYSICAL Drive.
Be sure to look at all /dev/?d? - devices that may be mounted /dev/hda, /dev/hdb, /dev/hd?, /dev/sda, /dev/sdb, /dev/sd?

Make sure you know what Physical Drive has what software installed on what Partition.

If you want to do this from a Terminal use:
CODE: SELECT ALLsudo blkid

/dev/sda3: UUID="02cdf8c1-dfdb-4b9c-a068-544efc4ec480" TYPE="swap" 
/dev/sda2: UUID="aa60d314-d43d-477d-8ad1-439cf313adf1" TYPE="ext4" 
/dev/sda1: UUID="6d3cdcfe-7750-49aa-9e01-89c5259b3fb5" TYPE="ext4" 
/dev/sdb1: LABEL="CENTON USB" UUID="6F80-D6EF" TYPE="vfat" 

The following command is all lowercase "SUDO FDISK -L"
CODE: SELECT ALLsudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x01d24840

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 64817151 32407552 83 Linux
/dev/sda2 64817152 960942079 448062464 83 Linux
/dev/sda3 960944040 976773167 7914564 82 Linux swap / Solaris

Disk /dev/sdb: 8053 MB, 8053063680 bytes
16 heads, 60 sectors/track, 16384 cylinders, total 15728640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x99ed51d0

Device Boot Start End Blocks Id System
/dev/sdb1 2032 15728639 7863304 c W95 FAT32 (LBA)

I've got a couple of Photo's as examples, but I can't upload them because I'm over the Forum's Quota.

I'll PM you for an email address.

Post your output of "sudo fdisk -l"


Your first SYSTEM Partition is hidden and is where the MBR resides. I found this information on the internet. But don't be in any
hurry to make these changes, until you know exactly what is on the Drive.

http://www.tomshardware.com/forum/28968 ... -partition

The 100MB hidden system partition on a Win-7 installation holds the Boot Config Database, the Boot Manager Code, and any Bitlocker Drive
Encryption Start Up files. If you had not tried to recreate it or quick formatted that area, you might be able to recover it.

Without it, you are not going to be able to boot into Windows. There are several options available to try:

Boot up your computer and just after the splash screen, click on F8 to take you to the Windows Recovery Environment.
There are several choices there -
Try the StartUp Repair (scans and repairs system files) - Run the Boot Mgr Dx choice and follow any directions

If no luck, choose the Command Prompt, and type in BootRec.exe. There are 4 options available. The "/RebuildBCD" creates a new Boot Configuration
Data Store. Reboot and see if you can start Windows.

Also if you have made a prior Windows-7 "BackUp and Restore" System Image, previously, you could go back into the Recovery Environment, and
choose the System Image Recovery, choose the Image which will be restored by over your corrupted system partition and all your data files.
That System Image obviously will have to have been saved in a separate partition or on a separate Disk.

IF nothing worked, you may have to take the HDD, and attached to a separate desktop computer, run a Partition Recovery Program such as the free
EaseUS Partition Recovery Program ( http://www.easeus.com/partition-recovery/ ), or a File Recovery Program to extract you photos and data on the drive.


Also,
Since you have the SYSTEM partition existing, it should be easy to rebuild it. The URL's below give the clues. But, it will overwrite the MBR and Debian
won't boot after that. But, get your Win 7 booting first. Then let grub install on your Linux Partition, vs the MBR

http://www.sevenforums.com/general-disc ... ition.html

1. Make a system repair CD (or download an ISO) from someone's PC. It is in the Backup & Restore screen.
Run the Startup Repair 3 separate times. Re-boot before running the 2nd (& 3rd) times. This should rebuild your system reserved.

Basically covered in this URL:
http://www.sevenforums.com/tutorials/11 ... ement.html


2. Do you have a 100MB system reserved partition which is primary active and another OS partition with the words Boot, pagefile ?

Anyway assuming you do then
Boot the system repair CD or installation disk and go into a command prompt then type:
>bootrec /fixmbr
>bootrec /fixboot
>bootrec /rebuildbcd
Then reboot.

I find startup repair isn't always foolproof.
Hayır ben Windows Düşmanı Değilim,Bu Yüzden Linux Kullanmıyorum, Ben Sadece Benim Donanımımda At Koşturacaksa Bir Yazılım, her Adımını Bilme Sorumluluğunu Hisseden Bir Teknologtan Fazlası olmadığım İçin Linux Kullanıcısıyım.

if

Sorunu anlamadım. Noktalama işaretlerini kullanarak sorunu tekrar anlatır mısınız?

sudo fdisk -l
sudo update-grub2

Pozitron

Alıntı yapılan: natgho - 21 Nisan 2015 - 00:59:20
Komple baştan temizlik yapmak zorunda kalabilirsin.
Eğer eriniyorsan ya da uğraşmak istiyorsan yabancı bir kaynakta şöyle bir anlatım yapılmış:
Alıntı Yap1. Boot Debian

2. Install gparted via Terminal (assumed that you have Ethernet or Wifi connection)
CODE: SELECT ALL     sudo updatedb
     sudo apt-get update
     apt-cache search gparted
     sudo apt-get install gparted
     

3. Execute gparted
APPLICATIONS MENU -> SYSTEM -> Gparted

4. Look at possibility of two or three PHYSICAL Drives in Top Right Corner of Gparted Window.
You also get a Graphic Display of what Partitions, Sizes, Types, are on the current Selected PHYSICAL Drive.
Be sure to look at all /dev/?d? - devices that may be mounted /dev/hda, /dev/hdb, /dev/hd?, /dev/sda, /dev/sdb, /dev/sd?

Make sure you know what Physical Drive has what software installed on what Partition.

If you want to do this from a Terminal use:
CODE: SELECT ALLsudo blkid

/dev/sda3: UUID="02cdf8c1-dfdb-4b9c-a068-544efc4ec480" TYPE="swap"
/dev/sda2: UUID="aa60d314-d43d-477d-8ad1-439cf313adf1" TYPE="ext4"
/dev/sda1: UUID="6d3cdcfe-7750-49aa-9e01-89c5259b3fb5" TYPE="ext4"
/dev/sdb1: LABEL="CENTON USB" UUID="6F80-D6EF" TYPE="vfat"

The following command is all lowercase "SUDO FDISK -L"
CODE: SELECT ALLsudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x01d24840

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 64817151 32407552 83 Linux
/dev/sda2 64817152 960942079 448062464 83 Linux
/dev/sda3 960944040 976773167 7914564 82 Linux swap / Solaris

Disk /dev/sdb: 8053 MB, 8053063680 bytes
16 heads, 60 sectors/track, 16384 cylinders, total 15728640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x99ed51d0

Device Boot Start End Blocks Id System
/dev/sdb1 2032 15728639 7863304 c W95 FAT32 (LBA)

I've got a couple of Photo's as examples, but I can't upload them because I'm over the Forum's Quota.

I'll PM you for an email address.

Post your output of "sudo fdisk -l"


Your first SYSTEM Partition is hidden and is where the MBR resides. I found this information on the internet. But don't be in any
hurry to make these changes, until you know exactly what is on the Drive.

http://www.tomshardware.com/forum/28968 ... -partition

The 100MB hidden system partition on a Win-7 installation holds the Boot Config Database, the Boot Manager Code, and any Bitlocker Drive
Encryption Start Up files. If you had not tried to recreate it or quick formatted that area, you might be able to recover it.

Without it, you are not going to be able to boot into Windows. There are several options available to try:

Boot up your computer and just after the splash screen, click on F8 to take you to the Windows Recovery Environment.
There are several choices there -
Try the StartUp Repair (scans and repairs system files) - Run the Boot Mgr Dx choice and follow any directions

If no luck, choose the Command Prompt, and type in BootRec.exe. There are 4 options available. The "/RebuildBCD" creates a new Boot Configuration
Data Store. Reboot and see if you can start Windows.

Also if you have made a prior Windows-7 "BackUp and Restore" System Image, previously, you could go back into the Recovery Environment, and
choose the System Image Recovery, choose the Image which will be restored by over your corrupted system partition and all your data files.
That System Image obviously will have to have been saved in a separate partition or on a separate Disk.

IF nothing worked, you may have to take the HDD, and attached to a separate desktop computer, run a Partition Recovery Program such as the free
EaseUS Partition Recovery Program ( http://www.easeus.com/partition-recovery/ ), or a File Recovery Program to extract you photos and data on the drive.


Also,
Since you have the SYSTEM partition existing, it should be easy to rebuild it. The URL's below give the clues. But, it will overwrite the MBR and Debian
won't boot after that. But, get your Win 7 booting first. Then let grub install on your Linux Partition, vs the MBR

http://www.sevenforums.com/general-disc ... ition.html

1. Make a system repair CD (or download an ISO) from someone's PC. It is in the Backup & Restore screen.
Run the Startup Repair 3 separate times. Re-boot before running the 2nd (& 3rd) times. This should rebuild your system reserved.

Basically covered in this URL:
http://www.sevenforums.com/tutorials/11 ... ement.html


2. Do you have a 100MB system reserved partition which is primary active and another OS partition with the words Boot, pagefile ?

Anyway assuming you do then
Boot the system repair CD or installation disk and go into a command prompt then type:
>bootrec /fixmbr
>bootrec /fixboot
>bootrec /rebuildbcd
Then reboot.

I find startup repair isn't always foolproof.
Debian da açılmıyor  maalesef ubuntu live cd ile denerim.
Alıntı yapılan: if - 21 Nisan 2015 - 09:14:09
Sorunu anlamadım. Noktalama işaretlerini kullanarak sorunu tekrar anlatır mısınız?

sudo fdisk -l
sudo update-grub2

Şöyle ki Debian kurarken hani "sisteminizde yukarıdaki işletim sistemleri varsa <Evet> deyin" diyor ya kabaca MBR üzerine yazmak için.İşte windows gözükmüyordu ben yine de evet deyip ilerledim.Windows grub menüsünden de kalktıNeyse biraz zaman geçti,burada gördüğüm işlemleri yaptım sonra;fakat windows gelmedi yine de.Sonra aklıma mbr'ın işlevi geldi ben de MBR seçeneklerinden(boot repair) MBR'ı ubuntudan yaptım;fakat açılışta "missing operating system" dedi.Bende ubuntu live-cd ile boot repairdan yeniden Debian yaptım MBR'ı.Yine de aynı hata devam etti.
To follow the path,look to the master,follow the master,walk with the master,see through the master,become the master.

heartsmagic

Çıktıları geçmemişsin.
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.

Pozitron

Çünkü çıktılar düzgün oluyor,her konudaki gibi sorun olmuyor.
To follow the path,look to the master,follow the master,walk with the master,see through the master,become the master.

heartsmagic

Anlamadım. @if'in istediği çıktıları geçmemişsin demek istemiştim. Çıktıları görelim ki yorum yapabilelim. Grub kendisi ekleyemiyorsa Windows'u elle ekleme yöntemlerine bakarsın. Forumda örnekleri var, ancak öncesinde çıktıları görelim ki emin olalım Windows'un durup durmadığından.
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.

Pozitron

GRUB kendini yüklüyor onu demek istedim.Herhangi bir sorun çıkmıyor,işlem tamamlanıyor.
To follow the path,look to the master,follow the master,walk with the master,see through the master,become the master.

heartsmagic

sudo fdisk -l
çıktısı? Hâlâ çıktıları göremedik ne yazık ki.
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.