daver Napisano Maj 23, 2009 Zgłoszenie Share Napisano Maj 23, 2009 (edytowane) Mój problem polega na tym, że Grub nie potrafi załadować Windows 7. Po wyborze systemu, komputer się restartuje. Najpierw instalowany był Windows, następnie Fedora. Oto wpisy z fdisk i menu.lst: Disk /dev/sda: 500.1 GB, 500106780160 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc49ec49e Device Boot Start End Blocks Id System /dev/sda1 * 1 4463 35841928+ 7 HPFS/NTFS Partition 1 does not end on cylinder boundary. /dev/sda2 4463 58004 430073280 f W95 Ext'd (LBA) Partition 2 does not end on cylinder boundary. /dev/sda3 58005 60553 20474842+ 83 Linux /dev/sda4 60554 60801 1992060 82 Linux swap / Solaris /dev/sda5 4463 21035 133116448+ 7 HPFS/NTFS /dev/sda6 21035 58004 296956768+ 7 HPFS/NTFS default=0 timeout=5 splashimage=(hd0,2)/boot/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.27.5-117.fc10.i686.PAE) root (hd0,2) kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686.PAE ro root=UUID=76aa3852-9a 44-40a6-88c3-e97abe085120 rhgb quiet initrd /boot/initrd-2.6.27.5-117.fc10.i686.PAE.img title Windows 7 root (hd0,0) chainloader +1 Bardzo proszę o pomoc. Edytowane Maj 30, 2009 przez WalDo literówka w tytule Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
morsik Napisano Maj 23, 2009 Zgłoszenie Share Napisano Maj 23, 2009 Spróbuj dodać "makeactive" przed chainloader w sekcji z Windowsem... chociaż wątpię żeby pomogło. Być może bootloader/sam windows7 może być inaczej zrobiony, przez co możę się nie dać go normalnie uruchomić. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
exbros Napisano Maj 23, 2009 Zgłoszenie Share Napisano Maj 23, 2009 [root@InfernoFX ~]# fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000f039b Device Boot Start End Blocks Id System /dev/sda1 1 25 200781 83 Linux /dev/sda2 26 25521 204796620 83 Linux /dev/sda3 25522 26133 4915890 82 Linux swap / Solaris /dev/sda4 * 26134 121603 766858240 7 HPFS/NTFS Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/sdb doesn't contain a valid partition table [root@InfernoFX ~]# cat /boot/grub/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/mapper/nvidia_ajebdaafp2 # initrd /initrd-version.img #boot=/dev/mapper/nvidia_ajebdaaf default=3 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.27.21-170.2.56.fc10.x86_64) root (hd0,0) kernel /vmlinuz-2.6.27.21-170.2.56.fc10.x86_64 ro root=UUID=71baaf2b-c959-48f3-a72a-2d317aed8e8a rhgb quiet init=/sbin/bootchartd initrd /initrd-2.6.27.21-170.2.56.fc10.x86_64.img title Fedora (2.6.27.19-170.2.35.fc10.x86_64) root (hd0,0) kernel /vmlinuz-2.6.27.19-170.2.35.fc10.x86_64 ro root=UUID=71baaf2b-c959-48f3-a72a-2d317aed8e8a rhgb quiet init=/sbin/bootchartd initrd /initrd-2.6.27.19-170.2.35.fc10.x86_64.img title Fedora (2.6.27.15-170.2.24.fc10.x86_64) root (hd0,0) kernel /vmlinuz-2.6.27.15-170.2.24.fc10.x86_64 ro root=UUID=71baaf2b-c959-48f3-a72a-2d317aed8e8a rhgb quiet init=/sbin/bootchartd initrd /initrd-2.6.27.15-170.2.24.fc10.x86_64.img title Windows7 7000 x64 rootnoverify (hd0,3) chainloader +1 Inna kolejnosc partycji i dziala bez proszenia... i bez makeactive Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Theriel Napisano Maj 23, 2009 Zgłoszenie Share Napisano Maj 23, 2009 morsik - tia, jeszcze by tego brakowało, żeby Windows forsował uruchamianie się z własnego bootloadera w MBRze ;p. Restart komputera może w wypadku Windowsa mieć związek ze... wszystkim. Corrupted files, coś mu nie pasuje etc. Makeactive sugerowane przez morsika powinno pomóc, większość poradników w internecie dotyczących Windows 7 + Linux ten fragment zawiera (choć ja bootuję Vistę bez tego). Z tego co jednak ludzie reportują - Windows 7 ma tendencję do "samoistnego" ustawiania sobie flagi "boot", co może później przysporzyć dodatkowych problemów... Tak, wiem, niewiele pomogłem, ale tylko chciałem pocieszyć, że to JEST do zrobienia. Vide: Tu i Tu. Spróbuj może też jakiegoś "repair" windowsowego (z płytki instalacyjnej). //added: ... bo exbros to cziter, jemu działa nawet jak nie powinno ;p Powiedziałbym "użyj rootnoverify zamiast root" ale akurat w Twoim wypadku to nie ma żadnego znaczenia... Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
daver Napisano Maj 24, 2009 Autor Zgłoszenie Share Napisano Maj 24, 2009 Probowaem juz wielu sposobow. Dodawalem parametry "makeactive", "rootnoverify", reinstalowalem gruba, naprawialem mbr Windowsa. Bede sie dalej meczyl. Dziekuje za zainteresowanie i jesli ktos wpadnie jeszcze na jakis pomysl, prosze o pomoc. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
@WalDo Napisano Maj 24, 2009 Zgłoszenie Share Napisano Maj 24, 2009 @daver - dziwacznie ten dysk podzielony. Podstawowa, rozszerzona (ta z dwiema NTFS) i potem znowu dwie podstawowe z linuksem. Może to boli? Spróbuj ukryć partycje linuksowe przed Windows i może wtedy coś ruszy? Myślę o wpisie w rodzaju title Win7 rootnoverify (hd0,0) hide (hd0,2) hide (hd0,3) chainloader +1 Strzelam w ciemno, ale spróbować nie zaszkodzi. Albo jeśli Ci to nie robi różnicy, to przywróć windowsowy bootloader w MBR, GRUB zainstaluj w bootsectorze Fedory i odpalaj Fedorę z menu Windowsa. Trochę głupio takie porady dawać akurat na tym forum, ale to też może być jakiś sposób a w końcu nigdzie nie jest napisane, że zawsze i u wszystkich w MBR ma być GRUB Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
ysio Napisano Maj 24, 2009 Zgłoszenie Share Napisano Maj 24, 2009 najlepiej siegnac do dokumentacji info grub 4.2.6 DOS/Windows ----------------- GRUB cannot boot DOS or Windows directly, so you must chain-load them (*note Chain-loading:. However, their boot loaders have some critical deficiencies, so it may not work to just chain-load them. To overcome the problems, GRUB provides you with two helper functions. If you have installed DOS (or Windows) on a non-first hard disk, you have to use the disk swapping technique, because that OS cannot boot from any disks but the first one. The workaround used in GRUB is the command `map' (*note map:, like this: grub> map (hd0) (hd1) grub> map (hd1) (hd0) This performs a "virtual" swap between your first and second hard drive. *Caution:* This is effective only if DOS (or Windows) uses BIOS to access the swapped disks. If that OS uses a special driver for the disks, this probably won't work. Another problem arises if you installed more than one set of DOS/Windows onto one disk, because they could be confused if there are more than one primary partitions for DOS/Windows. Certainly you should avoid doing this, but there is a solution if you do want to do so. Use the partition hiding/unhiding technique. If GRUB "hide"s a DOS (or Windows) partition (*note hide:, DOS (or Windows) will ignore the partition. If GRUB "unhide"s a DOS (or Windows) partition (*note unhide:, DOS (or Windows) will detect the partition. Thus, if you have installed DOS (or Windows) on the first and the second partition of the first hard disk, and you want to boot the copy on the first partition, do the following: grub> unhide (hd0,0) grub> hide (hd0,1) grub> rootnoverify (hd0,0) grub> chainloader +1 grub> makeactive grub> boot Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
daver Napisano Maj 25, 2009 Autor Zgłoszenie Share Napisano Maj 25, 2009 Hide niestety nic nie dalo. Zdążyłem już sformatować cały dysk (byłem zdolny nawet do tego), zrobiłem porządek w partycjach, ale nadal to samo. W końcu zainstalowałem gruba na partycji llinuksowej, a w MBR siedzi Bootloader Windows'a, którego edytowałem i zmusiłem do uruchamiania Linuksa. Trochę na obejście, ale ważne, ze działa. Dzi ękuje wszystkim za zainteresowanie. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
exbros Napisano Maj 25, 2009 Zgłoszenie Share Napisano Maj 25, 2009 Jedna uwaga coby uscislic - dokumentacja jest okay pod warunkiem, ze jest aktualna i niesie rzetelne informacje... dokumentacje GRUBa to o kant d* mozna potluc ... If you have installed DOS (or Windows) on a non-first hard disk, you have to use the disk swapping technique, because that OS cannot boot from any disks but the first one. The workaround used in GRUB is the command `map' (*note map:, like this: ... te informacje nie dotycza Win7 - vide moja konfiguracja (Win na partycji 4, zadnych przechytrzaczy i wszystko dziala) i konfiguracja davera (Win byl na pierwszej partycji i mimo wszystko nie dzialal) Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
daver Napisano Maj 29, 2009 Autor Zgłoszenie Share Napisano Maj 29, 2009 Zainstalowałem Fedore na laptopie, na którym najpierw wgrałem Win7. Układ partycji: Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x8f3e4b95 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 4463 35737600 7 HPFS/NTFS /dev/sda3 4463 15936 92160000 7 HPFS/NTFS /dev/sda4 15937 19457 28282432+ 5 Extended /dev/sda5 15937 19251 26624000 83 Linux /dev/sda6 19251 19457 1657855+ 83 Linux Grub działa bez problemu; Windows się uruchamia. Nie wiem co jest problemem na Desktopie. Być może coś nie tak z HDD ? Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
teapot Napisano Maj 29, 2009 Zgłoszenie Share Napisano Maj 29, 2009 Na moim desktopie z Linuksem na pierwszym dysku i Windows 7 na drugim (Windows instalowany jako drugi system), siódemka startuje bez problemu. Czytałem gdzieś na jakimś formum, że trzeba mieć zainstalowany sterownik ntfs-3g ewentualnie jakiś inny obsługujący ntfs bo inaczej Windows nie będzie startował. Ja miałem ntfs-3g zainstalowane przed instalacją Windows 7 wiec ciężko mi to zweryfikować. Układ partycji i grub.conf Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00081a04 Device Boot Start End Blocks Id System /dev/sda1 * 1 319 2562336 83 Linux /dev/sda2 320 2869 20482875 83 Linux /dev/sda3 2870 3060 1534207+ 82 Linux swap / Solaris /dev/sda4 3061 60801 463804582+ 5 Extended /dev/sda5 3061 3952 7164958+ 83 Linux /dev/sda6 3953 4589 5116671 83 Linux /dev/sda7 4590 46658 337919211 83 Linux /dev/sda8 46659 47933 10241406 83 Linux /dev/sda9 47934 60801 103362178+ 83 Linux Disk /dev/sdb: 160.0 GB, 160040803840 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x8c628c62 Device Boot Start End Blocks Id System /dev/sdb1 * 1 2476 19888438+ 7 HPFS/NTFS /dev/sdb3 2477 19457 136399882+ f W95 Ext'd (LBA) /dev/sdb5 2477 16239 110551266 b W95 FAT32 /dev/sdb6 16240 19457 25848553+ 7 HPFS/NTFS # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,0) # kernel /boot/vmlinuz-version ro root=/dev/sdc1 # initrd /boot/initrd-version.img #boot=/dev/sdc default=0 timeout=3 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.27.24-170.2.68.fc10.x86_64) root (hd0,0) kernel /boot/vmlinuz-2.6.27.24-170.2.68.fc10.x86_64 ro initrd /boot/initrd-2.6.27.24-170.2.68.fc10.x86_64.img title Windows 7RC root (hd1,0) makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1 Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
@WalDo Napisano Maj 30, 2009 Zgłoszenie Share Napisano Maj 30, 2009 Czytałem gdzieś na jakimś formum, że trzeba mieć zainstalowany sterownik ntfs-3g ewentualnie jakiś inny obsługujący ntfs bo inaczej Windows nie będzie startował.To musi być bzdura, bo gdyby tak było, to znaczyłoby to, że Windows przed startem bada partycje linuksowe lub wręcz uruchamia z nich jakieś sterowniki Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
ysio Napisano Maj 30, 2009 Zgłoszenie Share Napisano Maj 30, 2009 Jedna uwaga coby uscislic - dokumentacja jest okay pod warunkiem, ze jest aktualna i niesie rzetelne informacje... dokumentacje GRUBa to o kant d* mozna potluc ... te informacje nie dotycza Win7 - vide moja konfiguracja (Win na partycji 4, zadnych przechytrzaczy i wszystko dziala) i konfiguracja davera (Win byl na pierwszej partycji i mimo wszystko nie dzialal) nie rozumiem skąd wniosek, że dokumentacja nie jest "okay" czytaj dokumentację ze zrozumieniem i nie twórz nowej If you have installed DOS (or Windows) on a non-first hard disk, you have to use the disk swapping technique, because that OS cannot boot from any disks but the first one co to ma wspólnego z kolejnością partycji? zresztą przykład teapot pokazuje, że dokumentacja ta, przynajmniej w tej cześci, jest jak najbardziej właściwa Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się