Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: hardy.boy 10 Května 2010, 11:02:13

Název: Nelze nabootovat
Přispěvatel: hardy.boy 10 Května 2010, 11:02:13
Zdravím všechny, mám problém:

Mám Ubuntu 10.04 na NTB ASUS X51.
Všechno fungovalo bezvadně, až do dnešního rána...
Po zapnutí mi vyskočila hláška:

error: hd0,1 out of disk.
vga=792 is deprecated. Use set gfxpayload=1024x768x24, 1024x768 before linux command instead.


Díky za radu, jsem začátečník  ::)
Název: Re: Nelze nabootovat
Přispěvatel: On 10 Května 2010, 12:53:09
Nedělals něco s oddílama na svém pevném disku? Najeď přes LIVE CD a hoď sem výpis:

Kód: [Vybrat]
sudo fdisk -l
Název: Re: Nelze nabootovat
Přispěvatel: hardy.boy 10 Května 2010, 13:07:36
Nedělal, naposledy jsem instaloval SP2 pro XP ve VirtualBoxu. Pak jsem normálně vypnul a ráno už to nenaběhlo.



Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1cab130d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       13995   112414806   83  Linux
/dev/sda2           13996       14593     4803435    5  Extended
/dev/sda5           13996       14593     4803403+  82  Linux swap / Solaris

Disk /dev/sdb: 4043 MB, 4043309056 bytes
125 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7750 * 512 = 3968000 bytes
Disk identifier: 0x6b736964
Název: Re: Nelze nabootovat
Přispěvatel: hardy.boy 10 Května 2010, 13:09:17
BOOT INFO:


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 #1 for /boot/grub.

sda1: _________________________________________________________________________

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

sda2: _________________________________________________________________________

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

sda5: _________________________________________________________________________

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

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x1cab130d

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *             63   224,829,674   224,829,612  83 Linux
/dev/sda2         224,829,675   234,436,544     9,606,870   5 Extended
/dev/sda5         224,829,738   234,436,544     9,606,807  82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/loop0                                              squashfs                                 
/dev/sda1        60bf262a-5684-43fc-8d08-4025f3b63e92   ext4                                     
/dev/sda5        a031b682-a70c-4ef7-8a3d-0f03a789a23f   swap                                     

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

Device           Mount_Point              Type       Options

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


=========================== sda1/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 $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 recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
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
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
set locale_dir=($root)/boot/grub/locale
set lang=cs
insmod gettext
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/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=60bf262a-5684-43fc-8d08-4025f3b63e92 ro vga=792 splash quiet  quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
echo 'Loading Linux 2.6.32-22-generic ...'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=60bf262a-5684-43fc-8d08-4025f3b63e92 ro single vga=792 splash quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=60bf262a-5684-43fc-8d08-4025f3b63e92 ro vga=792 splash quiet  quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=60bf262a-5684-43fc-8d08-4025f3b63e92 ro single vga=792 splash quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=60bf262a-5684-43fc-8d08-4025f3b63e92 ro vga=792 splash quiet  quiet splash
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
echo 'Loading Linux 2.6.31-21-generic ...'
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=60bf262a-5684-43fc-8d08-4025f3b63e92 ro single vga=792 splash quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.31-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 60bf262a-5684-43fc-8d08-4025f3b63e92
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### 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 ###

=============================== sda1/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/sda1 during installation
UUID=60bf262a-5684-43fc-8d08-4025f3b63e92 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=a031b682-a70c-4ef7-8a3d-0f03a789a23f none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

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


    .1GB: boot/grub/core.img
   2.9GB: boot/grub/grub.cfg
  44.6GB: boot/initrd.img-2.6.31-21-generic
  45.2GB: boot/initrd.img-2.6.32-21-generic
   9.4GB: boot/initrd.img-2.6.32-22-generic
  43.0GB: boot/vmlinuz-2.6.31-21-generic
  44.9GB: boot/vmlinuz-2.6.32-21-generic
    .4GB: boot/vmlinuz-2.6.32-22-generic
   9.4GB: initrd.img
  45.2GB: initrd.img.old
    .4GB: vmlinuz
  44.9GB: vmlinuz.old
=======Devices which don't seem to have a corresponding hard drive==============

sdb
Název: Re: Nelze nabootovat
Přispěvatel: arrange 10 Května 2010, 18:21:39
Zkus v nabídce grubu najet na požadovanou položku, zmáčkni e (edit) a ve výpise vymaž řádek
Kód: [Vybrat]
recordfail
Pak Ctrl+x (=boot). Nabootuje?
Název: Re: Nelze nabootovat
Přispěvatel: hardy.boy 11 Května 2010, 15:14:58
To nejde, páč mi ani GRUB nenajede :-/
Naistaloval jsem novou instalaci ubuntu a mám tam 12 vadných sektorů (zatím) :-((
Vidím to na nový disk.