Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Pracovní prostředí => Téma založeno: Freshlemon 06 Dubna 2010, 19:58:32

Název: GRUB error [vyřešeno]
Přispěvatel: Freshlemon 06 Dubna 2010, 19:58:32
Dobrý den,
mám problém a chtěl bych požádat o radu. Na svém laptopu (Lenovo N500) mám jak Visty, tak Ubuntu (a při startu vybírám jeden z těchto systémů). visty jsou na disku C a právě z tohoto disku jsem chtěl ubrat volné místo a vytvořit z něj nový oddíl pro svá data. Použil jsem software easeus partition manager a postupoval jsem podle tohoto návodu: http://www.pc-help.cz/viewtopic.php?f=58&t=37086
 akce vyžadovala restart, restartoval jsem tedy a vybral jsem spuštění visty a po restartu probíhalo ono "přerozdělení". Vše šlo ok, nakonec byl vyžadován reboot.
A právě po rebootu kdy to běžně naloaduje GRUB se vypsalo:
GRUB loading
error: unknown filesystem
grub rescue>


Na disku C bylo volného kolem 89 GB, nový oddíl měl mít něco málo přes 30 GB.
nevím, co s tím, mohl byste mi prosím někdo poradit?
Název: Re: GRUB error
Přispěvatel: brutus 06 Dubna 2010, 20:00:29
Nemenil si nahodou neco u linuxoveho oddielu???
Název: Re: GRUB error
Přispěvatel: arrange 06 Dubna 2010, 20:03:59
Prosím výpis z boot_info_script (http://wiki.ubuntu.cz/boot_info_script).
Název: Re: GRUB error
Přispěvatel: Freshlemon 06 Dubna 2010, 22:37:04
Nemyslím si. Mé znalosti bohužel nesahají tak daleko, abych to mohl říct s jistotou, ale v easeus partition manager jsem zmenšoval disk C, disky, které využívá ubuntu byly separované. Samozřejmě nevím, jestli do nich program přesto nezasáhl.

Nemenil si nahodou neco u linuxoveho oddielu???

Název: Re: GRUB error
Přispěvatel: Freshlemon 06 Dubna 2010, 22:40:01
Prosím výpis z boot_info_script (http://wiki.ubuntu.cz/boot_info_script).

tady je ten výpis. jenom zmiňuji, že se s ubuntu znám asi tři dny, tak prosím případně omluvte mé neznalosti  :)
Kód: [Vybrat]
                Boot Info Script 0.55    dated February 15th, 2010                   

============================= Boot Info Summary: ==============================

 => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
    partition #5 for /boot/grub.

sda1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:   /bootmgr /Boot/BCD

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows Vista
    Boot files/dirs:   /Windows/System32/winload.exe /wubildr.mbr
                       /ubuntu/winboot/wubildr.mbr /wubildr
                       /ubuntu/winboot/wubildr

sda3: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:   

sda4: _________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:  According to the info in the boot sector, sda5 starts
                       at sector 63.
    Operating System: 
    Boot files/dirs:   

sda6: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 9.10
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda7: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x7136104b

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *          2,048     3,071,999     3,069,952   7 HPFS/NTFS
/dev/sda2           3,072,000   305,492,039   302,420,040   7 HPFS/NTFS
/dev/sda3         467,914,752   488,394,751    20,480,000   7 HPFS/NTFS
/dev/sda4         305,492,040   467,909,189   162,417,150   f W95 Ext d (LBA)
/dev/sda5         305,492,103   368,547,164    63,055,062   7 HPFS/NTFS
/dev/sda6         368,547,228   463,764,419    95,217,192  83 Linux
/dev/sda7         463,764,483   467,909,189     4,144,707  82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/loop0                                              squashfs                                 
/dev/sda1        08303CDD303CD382                       ntfs       SERVICEV003                   
/dev/sda2        AA8E6B278E6AEAF1                       ntfs       SW_Preload                   
/dev/sda3        44CABD9ACABD88A6                       ntfs       Lenovo                       
/dev/sda5        01CAD5BF3BCD98C0                       ntfs       Data                         
/dev/sda6        1916cf05-1406-4985-a309-86a265ecb3e7   ext4                                     
/dev/sda7        649400f1-38d6-44af-bdfe-d372891050e2   swap                                     

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

aufs             /                        aufs       (rw)
/dev/sr0         /cdrom                   iso9660    (rw)
/dev/loop0       /rofs                    squashfs   (rw)


=========================== sda6/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 1916cf05-1406-4985-a309-86a265ecb3e7
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 1916cf05-1406-4985-a309-86a265ecb3e7
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=1916cf05-1406-4985-a309-86a265ecb3e7 ro   quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 1916cf05-1406-4985-a309-86a265ecb3e7
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=1916cf05-1406-4985-a309-86a265ecb3e7 ro single
initrd /boot/initrd.img-2.6.31-20-generic
}
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,5)
search --no-floppy --fs-uuid --set 1916cf05-1406-4985-a309-86a265ecb3e7
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=1916cf05-1406-4985-a309-86a265ecb3e7 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,5)
search --no-floppy --fs-uuid --set 1916cf05-1406-4985-a309-86a265ecb3e7
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=1916cf05-1406-4985-a309-86a265ecb3e7 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 08303cdd303cd382
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 ###

=============================== sda6/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda5 during installation
UUID=1916cf05-1406-4985-a309-86a265ecb3e7 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=649400f1-38d6-44af-bdfe-d372891050e2 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

=================== sda6: Location of files loaded by Grub: ===================


 192.6GB: boot/grub/core.img
 192.6GB: boot/grub/grub.cfg
 189.2GB: boot/initrd.img-2.6.31-14-generic
 188.9GB: boot/initrd.img-2.6.31-20-generic
 189.2GB: boot/vmlinuz-2.6.31-14-generic
 189.3GB: boot/vmlinuz-2.6.31-20-generic
 188.9GB: initrd.img
 189.2GB: initrd.img.old
 189.3GB: vmlinuz
 189.2GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda4

00000000  3e 0d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |>..             |
00000010  20 3c 4e 78 47 72 6f 75  70 73 4d 61 73 6b 20 69  | <NxGroupsMask i|
00000020  64 3d 22 67 72 6f 75 70  73 4d 61 73 6b 22 20 62  |d="groupsMask" b|
00000030  69 74 73 30 3d 22 32 31  36 34 32 36 39 30 38 38  |its0="2164269088|
00000040  22 20 62 69 74 73 31 3d  22 30 22 20 62 69 74 73  |" bits1="0" bits|
00000050  32 3d 22 30 22 20 62 69  74 73 33 3d 22 30 22 2f  |2="0" bits3="0"/|
00000060  3e 0d 0a 20 20 20 20 20  20 20 20 20 20 20 20 3c  |>..            <|
00000070  2f 4e 78 53 68 61 70 65  44 65 73 63 3e 0d 0a 20  |/NxShapeDesc>.. |
00000080  20 20 20 20 20 20 20 20  20 3c 2f 4e 78 42 6f 78  |         </NxBox|
00000090  53 68 61 70 65 44 65 73  63 3e 0d 0a 20 20 20 20  |ShapeDesc>..    |
000000a0  20 20 20 20 20 20 3c 4e  78 42 6f 78 53 68 61 70  |      <NxBoxShap|
000000b0  65 44 65 73 63 20 64 69  6d 65 6e 73 69 6f 6e 73  |eDesc dimensions|
000000c0  3d 22 30 2e 33 35 35 37  38 39 30 30 36 20 31 2e  |="0.355789006 1.|
000000d0  35 35 36 30 37 39 39 38  34 20 32 2e 35 31 32 35  |556079984 2.5125|
000000e0  30 30 30 34 38 22 3e 0d  0a 20 20 20 20 20 20 20  |00048">..       |
000000f0  20 20 20 20 20 3c 4e 78  53 68 61 70 65 44 65 73  |     <NxShapeDes|
00000100  63 20 75 73 65 72 50 72  6f 70 65 72 74 69 65 73  |c userProperties|
00000110  3d 22 22 20 6e 61 6d 65  3d 22 43 6f 6c 4e 57 42  |="" name="ColNWB|
00000120  6f 78 5f 46 48 45 5f 73  6c 75 6d 30 31 5f 33 22  |ox_FHE_slum01_3"|
00000130  3e 0d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |>..             |
00000140  20 3c 6c 6f 63 61 6c 50  6f 73 65 3e 2d 30 2e 39  | <localPose>-0.9|
00000150  38 39 34 32 30 34 37 34  20 2d 30 2e 31 31 33 30  |89420474 -0.1130|
00000160  38 30 36 39 35 20 30 2e  30 39 30 38 36 39 32 32  |80695 0.09086922|
00000170  36 20 20 30 2e 31 31 34  33 32 30 36 32 31 20 2d  |6  0.114320621 -|
00000180  30 2e 39 39 33 34 30 35  38 31 39 20 30 2e 30 30  |0.993405819 0.00|
00000190  38 35 34 31 31 34 34 20  20 30 2e 30 38 39 33 30  |8541144  0.08930|
000001a0  34 33 32 38 20 30 2e 30  31 38 38 33 38 39 32 33  |4328 0.018838923|
000001b0  20 30 2e 39 39 35 38 32  36 32 34 34 20 20 00 fe  | 0.995826244  ..|
000001c0  ff ff 07 fe ff ff 3f 00  00 00 d6 24 c2 03 00 fe  |......?....$....|
000001d0  ff ff 05 fe ff ff 15 25  c2 03 67 e6 ac 05 00 00  |.......%..g.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Název: Re: GRUB error
Přispěvatel: q66 06 Dubna 2010, 22:48:08
nastav boot pro /dev/sda6
Název: Re: GRUB error
Přispěvatel: arrange 06 Dubna 2010, 22:50:08
Přidáním oddílu se ti změnilo číslování oddílů. Doporučil bych obnovu Grubu dle návodu
http://forum.ubuntu.cz/index.php?topic=42267.0

Pokud ti nebude něco jasné, ptej se. root-directory dle výpisu bude u tebe /dev/sda6.
Název: Re: GRUB error
Přispěvatel: Freshlemon 06 Dubna 2010, 23:36:33
Perfektní, udělal jsem to podle toho návodu a oba systémy fungují správně.
Děkuji nastotisíckrát :)