Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2014-01-19 19:14:36

  einsam - Użytkownik

einsam
Użytkownik
Zarejestrowany: 2008-06-24

"No such device" i... uruchamia system.

Grub2 zainstalowany na starym dysku (aktualnie sdb).
Ma uruchomić debiana z sda2(boot) sda3(/) są to partycje gpt.
Spreparowałem (prawdopodobnie źle, update-grub zrobił to inaczej...) wpis podmieniając  UUID na taki:

Kod:

menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c08d2741-311d-4b7e-bb4b-4f289aabf536' {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd0,msdos1'  15be60a8-00c5-441b-9db1-21d3dde0cada
    else
      search --no-floppy --fs-uuid --set=root 15be60a8-00c5-441b-9db1-21d3dde0cada
    fi
    echo    'Wczytywanie systemu Linux 3.11-9.dmz.1-liquorix-amd64...'
    linux    /vmlinuz-3.11-9.dmz.1-liquorix-amd64 root=UUID=a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de ro  quiet
    echo    'Wczytywanie początkowego dysku RAM...'
    initrd    /initrd.img-3.11-9.dmz.1-liquorix-amd64
}

Dostję :

Kod:

No such device 15be60a8-00c5-441b-9db1-21d3dde0cada

I grub uruchania system z sda3!
Jak to możliwe?
Dziś w ogóle wyedytowałem przed uruchomieniem 15be60a8-00c5-441b-9db1-21d3dde0cada, zmieniając w owym ciągu znaki (żadna partycja nie ma takiego UUID).
A grub i tak uruchomił system.
Jedyne co mi przychodzi na myśl, to że grub znajduje jajo na na: a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de (sda3).

Offline

 

#2  2014-01-19 19:23:23

  Pavlo950 - człowiek pasjonat :D

Pavlo950
człowiek pasjonat :D
Zarejestrowany: 2012-02-20
Serwis

Re: "No such device" i... uruchamia system.

[b]blkid[/b], sprawdź UUIDy.

Offline

 

#3  2014-01-19 19:27:27

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: "No such device" i... uruchamia system.

Ten przy „set root” to partycja na której znajduje się katalog /boot. Za partycję / którą ma zamontować odpowiada ten przy linijce zaczynającej się od „linux”.


[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

#4  2014-01-19 19:28:36

  einsam - Użytkownik

einsam
Użytkownik
Zarejestrowany: 2008-06-24

Re: "No such device" i... uruchamia system.

No, nie.
UUIDy siem zgadzajom.
Pyanie brzmi, dlaczego system w ogóle wstaje?

Offline

 

#5  2014-01-19 19:30:53

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: "No such device" i... uruchamia system.

Ale co „nie”?


[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

#6  2014-01-19 19:36:26

  einsam - Użytkownik

einsam
Użytkownik
Zarejestrowany: 2008-06-24

Re: "No such device" i... uruchamia system.

Ke?
Po:"No such device" chyba nie powinien wstać?
Jeszcze raz, nie pytam (na razie!) dlaczego "no such", tylko dlaczego POMIMO "no such" wstaje?

Offline

 

#7  2014-01-19 19:40:24

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: "No such device" i... uruchamia system.

[quote=einsam]Ke?[/quote]
Nie rozumiem o co Ci tutaj chodzi.

Co do reszty, to partycję /boot masz też podaną w standardowych oznaczeniach:

Kod:

    set root='hd0,msdos1'

Jeśli nie znajdzie po UUID to używa tego. Jeśli jest tam odpowiedni kernel to wszystko w porządku.


[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

#8  2014-01-19 19:47:05

  einsam - Użytkownik

einsam
Użytkownik
Zarejestrowany: 2008-06-24

Re: "No such device" i... uruchamia system.

ke?=co?
A właściweie miało się równać, ale może mi się coś pop...
Sorry, za narażenie na dyskomfort niezrozumienia...

Acha.
Jest tam kernel.

Offline

 

#9  2014-01-19 19:48:06

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: "No such device" i... uruchamia system.

Widziałeś w ogóle mojego pierwszego posta w tym wątku? Bo może stąd nieporozumienia.


[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

#10  2014-01-19 19:49:45

  einsam - Użytkownik

einsam
Użytkownik
Zarejestrowany: 2008-06-24

Re: "No such device" i... uruchamia system.

Nie, teraz widzę. :)

Kod:

set root='hd0,msdos1'

Ten spreparowany na szybko wpis, to ewidentny babol z mojej strony.
Tam nie ma tej partycji: 15be...
To wyjaśnia: no such.
I pomimo tego znalazł jajo.
Dobra.
Dobra daję grub.cfg wygenerowany a jeszcze nie używany...

Kod:

#
# 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
  set have_grubenv=true
  load_env
fi
set default="0"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de
else
  search --no-floppy --fs-uuid --set=root a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=pl_PL
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  set timeout=5
fi
### 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 ###
function gfxmode {
    set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de' {
    load_video
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  15be60a8-00c5-441b-9db1-21d3dde0cada
    else
      search --no-floppy --fs-uuid --set=root 15be60a8-00c5-441b-9db1-21d3dde0cada
    fi
    echo    'Wczytywanie systemu Linux 3.11-9.dmz.1-liquorix-amd64...'
    linux    /vmlinuz-3.11-9.dmz.1-liquorix-amd64 root=UUID=a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de ro  quiet
    echo    'Wczytywanie początkowego dysku RAM...'
    initrd    /initrd.img-3.11-9.dmz.1-liquorix-amd64
}
submenu 'Opcje zaawansowane dla systemu Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de' {
    menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.11-9.dmz.1-liquorix-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11-9.dmz.1-liquorix-amd64-advanced-a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de' {
        load_video
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  15be60a8-00c5-441b-9db1-21d3dde0cada
        else
          search --no-floppy --fs-uuid --set=root 15be60a8-00c5-441b-9db1-21d3dde0cada
        fi
        echo    'Wczytywanie systemu Linux 3.11-9.dmz.1-liquorix-amd64...'
        linux    /vmlinuz-3.11-9.dmz.1-liquorix-amd64 root=UUID=a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de ro  quiet
        echo    'Wczytywanie początkowego dysku RAM...'
        initrd    /initrd.img-3.11-9.dmz.1-liquorix-amd64
    }
    menuentry 'Debian GNU/Linux, with Linux 3.11-9.dmz.1-liquorix-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11-9.dmz.1-liquorix-amd64-recovery-a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de' {
        load_video
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  15be60a8-00c5-441b-9db1-21d3dde0cada
        else
          search --no-floppy --fs-uuid --set=root 15be60a8-00c5-441b-9db1-21d3dde0cada
        fi
        echo    'Wczytywanie systemu Linux 3.11-9.dmz.1-liquorix-amd64...'
        linux    /vmlinuz-3.11-9.dmz.1-liquorix-amd64 root=UUID=a8d3f810-e18b-4cc2-8f5b-9153b7e8a8de ro single 
        echo    'Wczytywanie początkowego dysku RAM...'
        initrd    /initrd.img-3.11-9.dmz.1-liquorix-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/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  15be60a8-00c5-441b-9db1-21d3dde0cada
    else
      search --no-floppy --fs-uuid --set=root 15be60a8-00c5-441b-9db1-21d3dde0cada
    fi
    linux16    /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  15be60a8-00c5-441b-9db1-21d3dde0cada
    else
      search --no-floppy --fs-uuid --set=root 15be60a8-00c5-441b-9db1-21d3dde0cada
    fi
    linux16    /memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  15be60a8-00c5-441b-9db1-21d3dde0cada
    else
      search --no-floppy --fs-uuid --set=root 15be60a8-00c5-441b-9db1-21d3dde0cada
    fi
    multiboot    /memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  15be60a8-00c5-441b-9db1-21d3dde0cada
    else
      search --no-floppy --fs-uuid --set=root 15be60a8-00c5-441b-9db1-21d3dde0cada
    fi
    multiboot    /memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Debian GNU/Linux (jessie/sid)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-c08d2741-311d-4b7e-bb4b-4f289aabf536' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd0,msdos2'  c08d2741-311d-4b7e-bb4b-4f289aabf536
    else
      search --no-floppy --fs-uuid --set=root c08d2741-311d-4b7e-bb4b-4f289aabf536
    fi
    linux /vmlinuz root=/dev/sdb2
    initrd /initrd.img
}
submenu 'Opcje zaawansowane dla systemu Debian GNU/Linux (jessie/sid)' $menuentry_id_option 'osprober-gnulinux-advanced-c08d2741-311d-4b7e-bb4b-4f289aabf536' {
    menuentry 'Debian GNU/Linux (jessie/sid) (na /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--c08d2741-311d-4b7e-bb4b-4f289aabf536' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd0,msdos2'  c08d2741-311d-4b7e-bb4b-4f289aabf536
        else
          search --no-floppy --fs-uuid --set=root c08d2741-311d-4b7e-bb4b-4f289aabf536
        fi
        linux /vmlinuz root=/dev/sdb2
        initrd /initrd.img
    }
    menuentry 'Debian GNU/Linux (jessie/sid) (na /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--c08d2741-311d-4b7e-bb4b-4f289aabf536' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd0,msdos2'  c08d2741-311d-4b7e-bb4b-4f289aabf536
        else
          search --no-floppy --fs-uuid --set=root c08d2741-311d-4b7e-bb4b-4f289aabf536
        fi
        linux /vmlinuz root=/dev/sdb2
        initrd /initrd.img
    }
    menuentry 'Debian GNU/Linux (jessie/sid) (na /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.11-9.dmz.1-liquorix-amd64--c08d2741-311d-4b7e-bb4b-4f289aabf536' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd0,msdos2'  c08d2741-311d-4b7e-bb4b-4f289aabf536
        else
          search --no-floppy --fs-uuid --set=root c08d2741-311d-4b7e-bb4b-4f289aabf536
        fi
        linux /vmlinuz-3.11-9.dmz.1-liquorix-amd64 root=/dev/sdb2
        initrd /initrd.img-3.11-9.dmz.1-liquorix-amd64
    }
    menuentry 'Debian GNU/Linux (jessie/sid) (na /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--c08d2741-311d-4b7e-bb4b-4f289aabf536' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd0,msdos2'  c08d2741-311d-4b7e-bb4b-4f289aabf536
        else
          search --no-floppy --fs-uuid --set=root c08d2741-311d-4b7e-bb4b-4f289aabf536
        fi
        linux /vmlinuz root=/dev/sdb2
        initrd /initrd.img
    }
    menuentry 'Debian GNU/Linux (jessie/sid) (na /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--c08d2741-311d-4b7e-bb4b-4f289aabf536' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd0,msdos2'  c08d2741-311d-4b7e-bb4b-4f289aabf536
        else
          search --no-floppy --fs-uuid --set=root c08d2741-311d-4b7e-bb4b-4f289aabf536
        fi
        linux /vmlinuz root=/dev/sdb2
        initrd /initrd.img
    }
}

menuentry 'Arch' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-30ab05bc-4387-4250-92f9-f1654287299b' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos3'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3 --hint='hd0,msdos3'  30ab05bc-4387-4250-92f9-f1654287299b
    else
      search --no-floppy --fs-uuid --set=root 30ab05bc-4387-4250-92f9-f1654287299b
    fi
    linux /boot/vmlinuz-linux root=/dev/sdb3
    initrd /boot/initramfs-linux.img
}
submenu 'Opcje zaawansowane dla systemu Arch' $menuentry_id_option 'osprober-gnulinux-advanced-30ab05bc-4387-4250-92f9-f1654287299b' {
    menuentry 'Arch (na /dev/sdb3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--30ab05bc-4387-4250-92f9-f1654287299b' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos3'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3 --hint='hd0,msdos3'  30ab05bc-4387-4250-92f9-f1654287299b
        else
          search --no-floppy --fs-uuid --set=root 30ab05bc-4387-4250-92f9-f1654287299b
        fi
        linux /boot/vmlinuz-linux root=/dev/sdb3
        initrd /boot/initramfs-linux.img
    }
}

menuentry 'Ubuntu 13.10 (13.10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-1d4cacce-511b-4878-99d9-ab8fe9dc97db' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd0,msdos6'  1d4cacce-511b-4878-99d9-ab8fe9dc97db
    else
      search --no-floppy --fs-uuid --set=root 1d4cacce-511b-4878-99d9-ab8fe9dc97db
    fi
    linux /boot/vmlinuz-3.11.0-14-generic root=/dev/sdb6
    initrd /boot/initrd.img-3.11.0-14-generic
}
submenu 'Opcje zaawansowane dla systemu Ubuntu 13.10 (13.10)' $menuentry_id_option 'osprober-gnulinux-advanced-1d4cacce-511b-4878-99d9-ab8fe9dc97db' {
    menuentry 'Ubuntu 13.10 (13.10) (na /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.0-14-generic--1d4cacce-511b-4878-99d9-ab8fe9dc97db' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd0,msdos6'  1d4cacce-511b-4878-99d9-ab8fe9dc97db
        else
          search --no-floppy --fs-uuid --set=root 1d4cacce-511b-4878-99d9-ab8fe9dc97db
        fi
        linux /boot/vmlinuz-3.11.0-14-generic root=/dev/sdb6
        initrd /boot/initrd.img-3.11.0-14-generic
    }
    menuentry 'Ubuntu 13.10 (13.10) (na /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.0-15-generic--1d4cacce-511b-4878-99d9-ab8fe9dc97db' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd0,msdos6'  1d4cacce-511b-4878-99d9-ab8fe9dc97db
        else
          search --no-floppy --fs-uuid --set=root 1d4cacce-511b-4878-99d9-ab8fe9dc97db
        fi
        linux /boot/vmlinuz-3.11.0-15-generic root=/dev/sdb6
        initrd /boot/initrd.img-3.11.0-15-generic
    }
}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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.
menuentry 'System Rescue ISO (64-bit) ' {
set root=(hd0,11)
set isofile="/systemrescuecd.iso"
loopback loop (hd0,11)$isofile
linux (loop)/isolinux/rescue64 setkmap=pl docache isoloop=$isofile
initrd (loop)/isolinux/initram.igz
}


### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Dlaczego jest:

Kod:

set root='hd0,msdos2
i 
set root='hd0,gpt2

Dlaczego obydwie partycje na różnych dyskach od: hd0?
Liczy osobno msdos i gpt?

Ostatnio edytowany przez einsam (2014-01-19 21:16:04)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.006 seconds, 9 queries executed ]

Informacje debugowania

Time (s) Query
0.00010 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00089 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.142.198.51' WHERE u.id=1
0.00061 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.142.198.51', 1732577692)
0.00046 SELECT * FROM punbb_online WHERE logged<1732577392
0.00051 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=25040 AND t.moved_to IS NULL
0.00006 SELECT search_for, replace_with FROM punbb_censoring
0.00116 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=25040 ORDER BY p.id LIMIT 0,25
0.00061 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=25040
Total query time: 0.00444 s