Hirdetés

Hirdetés

Aktív témák

  • Tompie

    őstag

    Újratettem a rendszert, most is 2 swap van a két linuxnak, mert azt mondták ha hibernálást használok akkor ajánlott.
    A lényeg, a 2 két windows már elsődleges partíción van.
    Felment Win7, aztán XP, aztán debian, és végül Ubuntu.
    A GRUB2-be szépen bele is tette a WIN7-et meg a Debiant is (XP-t nem de ez egyenlőre nem lényeges) viszont egyik sem bootol csak az Ubuntu. Ha WIN7-t vagy Debiant akarok bootoltatni, akkor:

    error: no such device #UUID (#UUID az bootolni kívánt eszköz UUID-jét írja ki.

    grub.cfg ide illő része:
    Ez az Ubuntura vonatkozó rész ami szépen be is bootol:


    ### BEGIN /etc/grub.d/10_linux ###
    menuentry "Ubuntu, Linux 2.6.31-14-generic" {
    recordfail=1
    if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    set quiet=1
    insmod ext2
    set root=(hd0,1)
    search --no-floppy --fs-uuid --set c9d54cbd-f1e9-4e90-8ce9-eb7d6206934a
    linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c9d54cbd-f1e9-4e90-8ce9-eb7d6206934a ro quiet splash
    initrd /boot/initrd.img-2.6.31-14-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
    recordfail=1
    if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    insmod ext2
    set root=(hd0,1)
    search --no-floppy --fs-uuid --set c9d54cbd-f1e9-4e90-8ce9-eb7d6206934a
    linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c9d54cbd-f1e9-4e90-8ce9-eb7d6206934a ro single
    initrd /boot/initrd.img-2.6.31-14-generic
    }
    ### END /etc/grub.d/10_linux ###

    A problémás rész a következő:

    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sda2)" {
    insmod ntfs
    set root=(hd0,2)
    search --no-floppy --fs-uuid --set 5354be9439244eed
    chainloader +1
    }
    menuentry "Debian GNU/Linux, kernel 2.6.26-2-686 (on /dev/sda6)" {
    insmod ext2
    set root=(hd0,6)
    search --no-floppy --fs-uuid --set cbebd526-1c3f-4fc1-88b8-9bc9cb1f759e
    linux /boot/vmlinuz-2.6.26-2-686 root=/dev/hda6 ro quiet
    initrd /boot/initrd.img-2.6.26-2-686
    }
    menuentry "Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode) (on /dev/sda6)" {
    insmod ext2
    set root=(hd0,6)
    search --no-floppy --fs-uuid --set cbebd526-1c3f-4fc1-88b8-9bc9cb1f759e
    linux /boot/vmlinuz-2.6.26-2-686 root=/dev/hda6 ro single
    initrd /boot/initrd.img-2.6.26-2-686
    }
    ### END /etc/grub.d/30_os-prober ###

    fdisk -l eredménye:

    Eszköz Indítás Eleje Vége Blokkok Az Rendszer
    /dev/sda1 * 1 1566 12578863+ 83 Linux
    /dev/sda2 1567 5482 31455270 7 HPFS/NTFS
    /dev/sda3 5483 7048 12578895 7 HPFS/NTFS
    /dev/sda4 7049 24321 138745372+ 5 Kiterjesztett
    /dev/sda5 7049 7309 2096451 82 Linux lapozó / Solaris
    /dev/sda6 7310 8875 12578863+ 83 Linux
    /dev/sda7 8876 9136 2096451 82 Linux lapozó / Solaris
    /dev/sda8 9137 24321 121973481 7 HPFS/NTFS

    Ahol sda1 Ubuntu, sda2 WIN7, sda3 XP, sda6 debian, sda5 és sda7 swap.

    A kérdés, hogy tudnám a WIN7-et illetve a debiant bootolásra bírni?

Aktív témák