Sarandis Δημοσ. 18 Δεκεμβρίου 2011 Δημοσ. 18 Δεκεμβρίου 2011 (επεξεργασμένο) Σήμερα αποφάσισα να κάνω ένα format στα windows μετά απο καιρό. Άφησα μόνο τον δίσκο που θα γινόταν η εγκατάσταση για να γλιτώσω πατάτα, μπαίνω κανονικά windows, όλα ok. Ξαναβάζω το δίσκο με το debian πάνω, ανοίγει ο grub με 2 καταχωρήσεις windows 7 (στο sda1 που είναι κανονικά και στο sdb1 που είναι απλά ένα ntfs partition χωρίς λειτουργικό). Κανένα απο τα 2 δε δούλευε, έβγαζε bootmgr missing. Δοκίμασα grub-update, τον ξήλωσα και τον ξαναπέρασα, κάνει τα δικά του. help grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by 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 load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd1,msdos2)' search --no-floppy --fs-uuid --set=root 567f0481-cd33-4215-a30f-2ab1a2f1c0fc if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd1,msdos2)' search --no-floppy --fs-uuid --set=root 567f0481-cd33-4215-a30f-2ab1a2f1c0fc set locale_dir=($root)/boot/grub/locale set lang=en_US insmod gettext fi terminal_output gfxterm set timeout=5 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=cyan/blue set menu_color_highlight=white/blue ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian GNU/Linux, with Linux 3.1.0-1-amd64' --class debian --class gnu-linux --class gnu --class os { insmod gzio insmod part_msdos insmod ext2 set root='(hd1,msdos2)' search --no-floppy --fs-uuid --set=root 567f0481-cd33-4215-a30f-2ab1a2f1c0fc echo 'Loading Linux 3.1.0-1-amd64 ...' linux /boot/vmlinuz-3.1.0-1-amd64 root=UUID=567f0481-cd33-4215-a30f-2ab1a2f1c0fc ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-3.1.0-1-amd64 } menuentry 'Debian GNU/Linux, with Linux 3.1.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { insmod gzio insmod part_msdos insmod ext2 set root='(hd1,msdos2)' search --no-floppy --fs-uuid --set=root 567f0481-cd33-4215-a30f-2ab1a2f1c0fc echo 'Loading Linux 3.1.0-1-amd64 ...' linux /boot/vmlinuz-3.1.0-1-amd64 root=UUID=567f0481-cd33-4215-a30f-2ab1a2f1c0fc ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-3.1.0-1-amd64 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root A8A86B08A86AD47A chainloader +1 } menuentry "Windows 7 (loader) (on /dev/sdb1)" --class windows --class os { insmod part_msdos insmod ntfs set root='(hd1,msdos1)' search --no-floppy --fs-uuid --set=root 245268575268302A chainloader +1 } ### 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 ### ### BEGIN /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### fdisk > Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 234438655 117115904 7 HPFS/NTFS/exFAT Disk /dev/sdb: 500.1 GB, 500107862016 bytes 16 heads, 63 sectors/track, 969021 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: 0x33288e24 Device Boot Start End Blocks Id System /dev/sdb1 2048 915329023 457663488 7 HPFS/NTFS/exFAT /dev/sdb2 915329024 954390527 19530752 83 Linux /dev/sdb3 954390528 976771071 11190272 83 Linux Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes 177 heads, 14 sectors/track, 788347 cylinders, total 1953525168 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: 0xf8d68646 Device Boot Start End Blocks Id System /dev/sdc1 2048 1953521663 976759808 7 HPFS/NTFS/exFAT Επεξ/σία 19 Δεκεμβρίου 2011 από Sarandis
Sarandis Δημοσ. 19 Δεκεμβρίου 2011 Μέλος Δημοσ. 19 Δεκεμβρίου 2011 Βρέθηκε λύση τελείως στην τύχη. Αφού έβαλα τον sdb μετά το πέρασμα των παραθυριών 7 μάλλον θεώρησαν σωστό να δημιουργήσουν bootmgr στο αποθηκευτικό partition ntfs. Το έσβησα, έκανα άλλο ένα grub-update και όλα δουλεύουν τώρα. Περίεργα πράγματα...
Προτεινόμενες αναρτήσεις
Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε
Πρέπει να είστε μέλος για να αφήσετε σχόλιο
Δημιουργία λογαριασμού
Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!
Δημιουργία νέου λογαριασμούΣύνδεση
Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.
Συνδεθείτε τώρα