Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: špatná instalace - Ubuntu nenabootuje  (Přečteno 3696 krát)

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
špatná instalace - Ubuntu nenabootuje
« kdy: 24 Srpna 2009, 21:02:44 »
Ahojte
tak jsem zase instaloval systém... tentokrát OpenSUSE - Měl jsem Ubuntu. Rozdělil jsem disky, a SUSE nainstaloval na oddělený disk. Ovšem neudělal jsem už partici na SWAP a SUSE použilo, nejspíše, tu, kde bylo Ubuntu. SUSE teď jede, ale Ubuntu nenabootuje - asi že namá svůj SWAP. Dá se to ještě nějak zachránit. Ubuntu tam pořád je, jen se je nadá nabootovat. Jsem pořád začátečník, i když z Ubuntu už pracuji 2 roky. Dík za rady
Ubuntu Studio 12.10. HP ProBook4510s

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #1 kdy: 24 Srpna 2009, 21:08:50 »
Swapem to nebude. Pošli info z boot_info_script. Popiš podrobněji, co to znamená, že nenabootuje. Píše nějakou chybu? Vidíš ho v nabídce Grubu?
http://www.openstreetmap.org - mapy celého světa "wiki style"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #2 kdy: 24 Srpna 2009, 21:24:05 »
Díky Arrange
když dávám toto: sudo bash ~/Desktop/boot_info_script*.sh tak mi vyhazuje, že není takový adresář
jinak: v nabídce grubu Ubuntu je, ale když ho dám, tak píše toto:
kernel /boot/vmlinuz-2.6.26-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe 2dd761a ro quiet splash
Error15: file not found
co s tím? díky
Ubuntu Studio 12.10. HP ProBook4510s

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #3 kdy: 24 Srpna 2009, 21:34:49 »
Prostě dej v Terminálu
Kód: [Vybrat]
cd ~
wget http://downloads.sourceforge.net/project/bootinfoscript/bootinfoscript/0.32/boot_info_script032.sh?use_mirror=dfn
sudo bash boot_info_script032.sh
Až skript dojede, v Tvé domovské složce (/home/<Tvé uživ. jméno>) najdeš soubor RESULTS.txt. Zkopíruj jeho obsah sem.
http://www.openstreetmap.org - mapy celého světa "wiki style"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #4 kdy: 24 Srpna 2009, 21:38:49 »
ok, tak to vypadá takto:

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

 => Acer 3 is installed in the MBR of /dev/sda

sda1: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:      Operating System:  Ubuntu 9.04
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

sda2: _________________________________________________________________________

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

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

    File system:       ext3
    Boot sector type:  Grub
    Boot sector info:  Grub0.97 is installed in the boot sector of sda3 and
                       looks at sector 138111607 of the same hard drive for
                       the stage2 file. A stage2 file is at this location on
                       /dev/sda. Stage2 looks on partition #3 for
                       /boot/grub/menu.lst.
    Operating System:  Welcome to openSUSE 11.1 -
                       Kernel ().
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 80,0 GB, 80 026 361 856 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 9 729, celkem 156 301 488 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Identifikátor disku: 0x0d4a37a0

Partition  Boot         Start           End          Size  Id System

/dev/sda1                  63    91,875,734    91,875,672  83 Linux
/dev/sda2         153,324,360   156,296,384     2,972,025   5 Extended
/dev/sda5         153,324,423   156,296,384     2,971,962  82 Linux swap / Solaris
/dev/sda3    *     91,875,735   153,324,359    61,448,625  83 Linux


blkid -c /dev/null: ____________________________________________________________

/dev/sda1: UUID="35d3940e-7197-4997-8b38-7a1fe3dd761a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="d68107ae-277b-4615-8ac3-c59b115c005c" TYPE="ext3"
/dev/sda5: UUID="028e4a19-c3bf-410a-aead-10dfcf669f3b" TYPE="swap"

=============================== "mount" output: ===============================

/dev/sda3 on / type ext3 (rw,acl,user_xattr)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gvfs-fuse-daemon on /home/marian/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=marian)


=========================== sda1/boot/grub/menu.lst: ===========================

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default      0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=35d3940e-7197-4997-8b38-7a1fe3dd761a

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title      Ubuntu 9.04, kernel 2.6.28-15-generic
uuid      35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel      /boot/vmlinuz-2.6.28-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro quiet splash
initrd      /boot/initrd.img-2.6.28-15-generic
quiet

title      Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
uuid      35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel      /boot/vmlinuz-2.6.28-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro  single
initrd      /boot/initrd.img-2.6.28-15-generic

title      Ubuntu 9.04, kernel 2.6.28-11-generic
uuid      35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro quiet splash
initrd      /boot/initrd.img-2.6.28-11-generic
quiet

title      Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid      35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro  single
initrd      /boot/initrd.img-2.6.28-11-generic

title      Ubuntu 9.04, memtest86+
uuid      35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel      /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'vol_id --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=35d3940e-7197-4997-8b38-7a1fe3dd761a /               ext3    relatime,errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=028e4a19-c3bf-410a-aead-10dfcf669f3b none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

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


  31.2GB: boot/grub/menu.lst
  31.3GB: boot/grub/stage2
  31.3GB: boot/initrd.img-2.6.28-11-generic
  31.3GB: boot/initrd.img-2.6.28-15-generic
  31.3GB: boot/vmlinuz-2.6.28-11-generic
  31.3GB: boot/vmlinuz-2.6.28-15-generic
  31.3GB: initrd.img
  31.3GB: initrd.img.old
  31.3GB: vmlinuz
  31.3GB: vmlinuz.old

=========================== sda3/boot/grub/menu.lst: ===========================

# Modified by YaST2. Last modification on Po srp 24 17:57:35 UTC 2009
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,2)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.7-9
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 resume=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part5 splash=silent showopts vga=0x317
    initrd /boot/initrd-2.6.27.7-9-pae

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1 - 2.6.27.7-9
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.27.7-9-pae

###Don't change this comment - YaST2 identifier: Original name:  Ubuntu 9.04, kernel 2.6.28-15-generic (/dev/sda1)###
title Ubuntu 9.04, kernel 2.6.28-15-generic (/dev/sda1)
    root (hd0,0)
    configfile /boot/grub/menu.lst

=============================== sda3/etc/fstab: ===============================

/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part5 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 /                    ext3       acl,user_xattr        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

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


  70.6GB: boot/grub/menu.lst
  70.7GB: boot/grub/stage2
  70.7GB: boot/initrd
  70.7GB: boot/initrd-2.6.27.7-9-pae
  70.7GB: boot/vmlinuz
  70.7GB: boot/vmlinuz-2.6.27.7-9-pae
Ubuntu Studio 12.10. HP ProBook4510s

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #5 kdy: 24 Srpna 2009, 22:12:12 »
Teď mi není jasné - ta nabídka Grubu při startu počítače je SUSácká nebo Ubuntí? Ta chyba, co píšeš, vypadá z Ubuntího, ale pak by se Ti vůbec nenabízelo SUSE. Nevyznám se prostě v tom SUSáckém menu.lst  8)

kernel /boot/vmlinuz-2.6.26-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe 2dd761a ro quiet splash
Error15: file not found
Jinak tato chyba je jasná, file not found, soubor /boot/vmlinuz-2.6.26-15-generic tam nemáš, jen /boot/vmlinuz-2.6.28-15-generic, možná jsi to ale jen špatně opsal. Když tak pošli snímek obrazovky.
http://www.openstreetmap.org - mapy celého světa "wiki style"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #6 kdy: 24 Srpna 2009, 22:15:28 »
ta nabídka je SUSE, né Ubuntu
mám za to, že jsem to napsal správně
nevím, jak udělat snímek obrazovky
dík za pomoc
Ubuntu Studio 12.10. HP ProBook4510s

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #7 kdy: 24 Srpna 2009, 22:38:46 »
Á, už to asi vidím, configfile! No, neznám SUSE, takže pokud se někdo povolanější neozve, poradil bych Ti toto:

- najeď do SUSE, staň se rootem (nevím jak)
- zálohuj menu.lst
Kód: [Vybrat]
cp /boot/grub/menu.lst /boot/grub/menu.lst_zaloha- otevři menu.lst v čem chceš, např. v nano
Kód: [Vybrat]
nano /boot/grub/menu.lst- najdi řádek
Kód: [Vybrat]
configfile /boot/grub/menu.lst- vymaž ho a místo něj dej tyto 2 řádky
Kód: [Vybrat]
kernel /vmlinuz
initrd /initrd.img
takže celý ten odstavec bude vypadat nějak takto
Kód: [Vybrat]
###Don't change this comment - YaST2 identifier: Original name:  Ubuntu 9.04, kernel 2.6.28-15-generic (/dev/sda1)###
title Ubuntu 9.04, kernel 2.6.28-15-generic (/dev/sda1)
    root (hd0,0)
    kernel /vmlinuz
    initrd /initrd.img
- ulož Ctrl+x, y (yes) (pokud jsi v tom nano)
- restartuj

Pokud jsi zjistil, že sis zmrvil menu.lst a nenabootuješ vůbec, chvíli na sebe/mě/zlý osud tiše nadávej, pak vlož LiveCD a obnov tu zálohu (viz bod 2).
http://www.openstreetmap.org - mapy celého světa "wiki style"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #8 kdy: 24 Srpna 2009, 23:03:08 »
ha!
tak zlý jsem nemusel být! ale
chvíli to chrastilo, proběhly tak tři obrazovky, nějaké čísla, pak se to zaseklo na něčem jako toto ( vybral jsem to co se mi zdalo jako podstatné ):
Gave up waiting for root device ... missing modules ( cat/proc/modules , ls/dev ) ... Alert! does not exist Dropping to a shell ... a pak už jen ( initramfs ) a blikající kurzor.
Co s tím? 
Ubuntu Studio 12.10. HP ProBook4510s

airlive

  • Závislák
  • ***
  • Příspěvků: 2280
  • Linux User: 479151.
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #9 kdy: 24 Srpna 2009, 23:10:30 »
Něco podobného jsem řešil když jsem minulý týden nainstaloval Sabayon 4.2 vedle openSuSE.
Pomohlo mi tohle:bootnout livko openSuSE a přes F2 si tam dát cz-lang :D a potom zvolit volbu → opravit nainstalovaný systém,kde po pár věcech to chce odkliknout oprava zavaděče,nebo něco podobněho.Potom restart a vše bylo o.k.
Neříkám,že to musí na 100% helpnout,ale trvá to asi 10 min a za zkoušku nic nedáš.
openSUSE Leap 15.1
Vivaldi: King of Browsers.
"Tón, kterým se hovoří v linuxových skupinách, je tvrdý, ale srdečný..."

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #10 kdy: 24 Srpna 2009, 23:16:56 »
Hmm, moje chyba, v tom řádku kernel mělo být ještě root=/dev/sda1 ro, takže celkově
Kód: [Vybrat]
kernel /vmlinuz root=/dev/sda1 roPokud nefunguje, tak už nevím, vrať tam tu zálohu menu.lst...
http://www.openstreetmap.org - mapy celého světa "wiki style"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #11 kdy: 25 Srpna 2009, 08:35:05 »
hmmm, tak jsem to zkusil přes to liveCD SUSE a neopravil jsem zavaděč - když jsem chtěl umístit zavaděč na té partici disku, kde je Ubuntu, tak mě to nepustilo -, ale vytvořil nový, omylem. Teď už Ubuntu v nabídce Grubu není vůbec. Pak jsem zkoušel ještě jednou to, co dopsal Arrange s tím novým dopiskem o kernel atd, celé znova, ale nic. Neměl bych nabootoval z LiveCD Ubuntu a zkusit vytvořit nový zavaděč tam? Jak dál?
Ubuntu Studio 12.10. HP ProBook4510s

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #12 kdy: 25 Srpna 2009, 09:31:09 »
Ubuntu Studio 12.10. HP ProBook4510s

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #13 kdy: 25 Srpna 2009, 10:34:19 »
Znovu boot_info_script, ale výsledek dej prosím do kódu, viz ikonka nahoře.
http://www.openstreetmap.org - mapy celého světa "wiki style"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #14 kdy: 25 Srpna 2009, 11:29:11 »
ok, díky moc, Arrange. Já jsem teďka v práci, hodím to sem až večer. Díky za reakci :-)
Ubuntu Studio 12.10. HP ProBook4510s

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #15 kdy: 25 Srpna 2009, 17:39:54 »
ok, ten script vypadá takto:

Kód: [Vybrat]
============================= Boot Info Summary: ==============================

 => Acer 3 is installed in the MBR of /dev/sda

sda1: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:      Operating System:  Ubuntu 9.04
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

sda2: _________________________________________________________________________

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

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

    File system:       ext3
    Boot sector type:  Grub
    Boot sector info:  Grub0.97 is installed in the boot sector of sda3 and
                       looks at sector 138111607 of the same hard drive for
                       the stage2 file. A stage2 file is at this location on
                       /dev/sda. Stage2 looks on partition #3 for
                       /boot/grub/menu.lst.
    Operating System:  Welcome to openSUSE 11.1 -
                       Kernel ().
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 80,0 GB, 80 026 361 856 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 9 729, celkem 156 301 488 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Identifikátor disku: 0x0d4a37a0

Partition  Boot         Start           End          Size  Id System

/dev/sda1                  63    91,875,734    91,875,672  83 Linux
/dev/sda2         153,324,360   156,296,384     2,972,025   5 Extended
/dev/sda5         153,324,423   156,296,384     2,971,962  82 Linux swap / Solaris
/dev/sda3    *     91,875,735   153,324,359    61,448,625  83 Linux


blkid -c /dev/null: ____________________________________________________________

/dev/sda1: UUID="35d3940e-7197-4997-8b38-7a1fe3dd761a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="d68107ae-277b-4615-8ac3-c59b115c005c" TYPE="ext3"
/dev/sda5: UUID="028e4a19-c3bf-410a-aead-10dfcf669f3b" TYPE="swap"

=============================== "mount" output: ===============================

/dev/sda3 on / type ext3 (rw,acl,user_xattr)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gvfs-fuse-daemon on /home/marian/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=marian)


=========================== sda1/boot/grub/menu.lst: ===========================

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=35d3940e-7197-4997-8b38-7a1fe3dd761a

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 9.04, kernel 2.6.28-15-generic
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro  single
initrd /boot/initrd.img-2.6.28-15-generic

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro  single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'vol_id --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=35d3940e-7197-4997-8b38-7a1fe3dd761a /               ext3    relatime,errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=028e4a19-c3bf-410a-aead-10dfcf669f3b none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 /data1               auto       noauto,user           0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0

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


  31.2GB: boot/grub/menu.lst
  31.3GB: boot/grub/stage2
  31.3GB: boot/initrd.img-2.6.28-11-generic
  31.3GB: boot/initrd.img-2.6.28-15-generic
  31.3GB: boot/vmlinuz-2.6.28-11-generic
  31.3GB: boot/vmlinuz-2.6.28-15-generic
  31.3GB: initrd.img
  31.3GB: initrd.img.old
  31.3GB: vmlinuz
  31.3GB: vmlinuz.old

=========================== sda3/boot/grub/menu.lst: ===========================

# Modified by YaST2. Last modification on Po srp 24 23:29:16 CEST 2009
default 0
timeout 8
gfxmenu (hd0,2)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX
    root (hd0,2)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3    repair=1 resume=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part5 splash=silent showopts vga=0x317
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
    root (hd0,2)
    kernel /vmlinuz root=/dev/sda1 ro
    initrd /boot/initrd

=============================== sda3/etc/fstab: ===============================

/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part5 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 /                    ext3       acl,user_xattr        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

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


  70.7GB: boot/grub/menu.lst
  70.7GB: boot/grub/stage2
  70.7GB: boot/initrd
  70.7GB: boot/initrd-2.6.27.29-0.1-pae
  70.7GB: boot/vmlinuz
  70.7GB: boot/vmlinuz-2.6.27.29-0.1-pae

co s tím?
Ubuntu Studio 12.10. HP ProBook4510s

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #16 kdy: 25 Srpna 2009, 19:36:47 »
V SUSE v menu.lst (zálohuj!) dej místo
Kód: [Vybrat]
title Failsafe
    root (hd0,2)
    kernel /vmlinuz root=/dev/sda1 ro
    initrd /boot/initrd
toto
Kód: [Vybrat]
title Ubuntu 9.04 - nejnovejsi kernel
root (hd0,0)
kernel /vmlinuz root=/dev/sda1 ro
initrd /initrd.img

Jinak je zajímavé, jak SUSE označuje volbu Ubuntu jako Failsafe  ;D
http://www.openstreetmap.org - mapy celého světa "wiki style"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: špatná instalace - Ubuntu nenabootuje
« Odpověď #17 kdy: 25 Srpna 2009, 19:49:53 »
Jo! Uděláno a jede to! Díky díky mooooc :)
Ubuntu Studio 12.10. HP ProBook4510s

 

Provoz zaštiťuje spolek OpenAlt.