Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: fraktik 01 Srpna 2009, 10:16:58
-
Dobre jitro preji,
stravil jsem (opet :-\) noc hratky s mym notebookem po pokusu o reinstal WinXP - a i toto pisi z LiveCD. :-(
(pamatuji si, ze uz jsem to kdysi delal (a ze se me objevovaly jine chybove hlasky, resitelnejsi...))
Po naistalovani WinXP na jejich partition (nijak jsem nemenil velikost, ba jsem ji ani neformatoval) jsem si chtel vratit grub do mbr.
Postupoval jsem podle http://wiki.ubuntu.cz/GRUB/Obnova#Pomoc.2BAO0_Super_Grub_Disk , tj. stahnul si na flashku ten grub a zkousel jednotlive moznosti) - ale GRUB => MBR & !LINUX! (1) AUTO
nepomohlo, automaticke startovani se hned restartovalo, pokud jsem se manualne pokousel, hlasilo to chybu Error 22: No such partition
, pokusy o rucni editaci spoustece (misto (hd0,2) a (hd1,4) jsem zkousel ruzne permutace pripadne jina cisla misto 2 a 4) take nevedly k rozjezdu meho ubuntu (hlasilo to bud uknown file system ci jen, ze je ext2fs, ale stejne nenabehlo nic, varianta (hd1,1) dokonce hned restartovala notebook.
Mam 320gb disk, rozdeleny mezi 2x ubuntu (starsi, pouzivana 8.10 s 32g partition + novejsi, (pro mne) experimentalni 9.04 se 7gb), 2.5gb swap (pokousel jsem se kdys (neuspesne) rozbehat hybernaci), 9gb Windows XP Prof CZ s ntfs a 250gb ntfs oddil s daty.
S partitions jsem v ruznych dobach (a pomoci ruznych nastroju - PartitionMagic z Win, QTParted z Ubuntu) ruzne virgloval - jednak nikdy neni dost mista (ani pro OS, ani pro data) a jednak jsem ubiral a pridaval tu swap a druhy Ubuntu (nevim zda/jak jde na linuxu plne ovladat co vse se nacte/spusti po startu pro 2 ruzne uzivatele - a chci mit jednak rychly, lehky OS a druhak "vymakany" (cti preplacany) OS se spoustou udelatek, vychytavek, 3D efektu, programu i sluzeb), tu jsem potreboval dvoje ruzne WinXP (nejsou stabilni na mem stroji - spatne nVidia ovladace produkuji BSOD) proste se v tom hrabu (a vim "ze se to nema")...
Disky nejsou nijak dotceny (hned jsem si je ve win pripojil pomoci Ext2Fsd) a navic i ted jsou vsechny z liveCD pristupne.
Nasleduje fstab, blkid a fdisk - vubec se me nelibi, ze je v tom takovy chaos.
(Aneb co mohu udelat pro "uklid"? Prepsat fstab? Nebo neco jineho??)
fstab na Ubu9:
# /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
/dev/sda5 / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=4d754e17-ea2b-488d-9f09-d49b93e8a513 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
fstab na Ubu8
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda3 / ext3 relatime,errors=remount-ro 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sda7 /media/Strom250 ntfs-3g defaults 0 0
/dev/sda5 /media/Ubu9 ext3 relatime,errors=remount-ro 0 0
/dev/sda2 /media/2-WinXP-6gb ntfs-3g defaults 0 0
/dev/sda6 none swap sw 0 0
sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="48D0C675D0C668B0" LABEL="2-WinXP-6gb" TYPE="ntfs"
/dev/sda2: LABEL="Ubu-32gb" UUID="6ec438b1-100c-4304-b724-53f11c4dd6ee" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: LABEL="Ubu9" UUID="4bae7017-2c87-407c-b5af-3d9bd049f466" TYPE="ext3"
/dev/sda6: TYPE="swap" UUID="4d754e17-ea2b-488d-9f09-d49b93e8a513"
/dev/sda7: UUID="F860966260962800" LABEL="Strom-250gb" TYPE="ntfs"
sudo fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x46cd46cc
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1035 8313606 7 HPFS/NTFS
/dev/sda2 1036 5226 33664207+ 83 Linux
/dev/sda3 5227 38912 270582795 f W95 Ext'd (LBA)
/dev/sda5 5227 6196 7791493+ 83 Linux
/dev/sda6 6197 6501 2449881 82 Linux swap / Solaris
/dev/sda7 6502 38912 260341326 7 HPFS/NTFS
ukazka z boot/grub/menu.lst na Ubu8
title Ubuntu 8.10, kernel 2.6.27-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
totez pro Ubu9
title Ubuntu 9.04, kernel 2.6.28-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
savedefault
a pro Win
title WokProof - II. lite edition
root (hd0,1)
makeactive
chainloader +1
Jediny dalsi prikaz (ls - l), ktery jsem objevil nerika uz nic noveho:
ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2009-08-01 06:48 48D0C675D0C668B0 -> ../../sda1
lrwxrwxrwx 1 root root 10 2009-08-01 06:48 4bae7017-2c87-407c-b5af-3d9bd049f466 -> ../../sda5
lrwxrwxrwx 1 root root 10 2009-08-01 06:48 4d754e17-ea2b-488d-9f09-d49b93e8a513 -> ../../sda6
lrwxrwxrwx 1 root root 10 2009-08-01 06:48 6ec438b1-100c-4304-b724-53f11c4dd6ee -> ../../sda2
lrwxrwxrwx 1 root root 10 2009-08-01 06:48 F860966260962800 -> ../../sda7
Pripada me, ze muj problem se hodne podoba GRUB Error 22: No such partition [vyřešeno] (http://forum.ubuntu.cz/index.php?topic=16277.0)
Ovsem hlaska "Diskové oddíly jsou chybně seřazeny"
se mi neobjevila :(
(pokud je tomu tak, jak je mam seradit "spravne" prosim? Jsem v linuxu preci jen stale BFU. BTW puvodni tazatel "vyresil" pomoci formatu a navratu k Win)
Predpokladam (doufam), ze problem vyresim jeste pred nejakou odpovedi zde, ale vzhledem k casu na tom stravenem (navic dosud bez vysledku (!)) bych se i tak rad podelil s (pripadnymi a pravdepodobnymi) nasledniky o reseni.
Informace jsem cerpal z googlu, napr.:
http://www.notes.own.cz/?page_id=17
http://wiki.ubuntu.cz/GRUB/Obnova
http://www.linuxexpres.cz/blog/jak-obnovit-zavadec-grub
http://ubuntuforums.org/showthread.php?t=593796
http://www.chovancik.cz/2008/02/11/jak-zjistit-uuid-disku-na-linuxu-ubuntu-fstab-blkid-devdiskby-uuid/
http://ubuntuforums.org/showthread.php?t=378322
http://wiki.ubuntu.cz/GRUB/P%C5%99%C3%ADkazov%C3%A1%20%C5%99%C3%A1dka
http://forum.ubuntu.cz/index.php?action=printpage%3Btopic=6260.0
Jinak jde o tento Megabook od MSI:
http://www.notebookcheck.net/MSI-Megabook-GX700.5647.0.html
http://notebooky-forum.notebook.cz/viewtopic.php?t=3738
konkretne tento model kupovany v http://www.czechcomputer.cz/product.jsp?artno=53644
-
Na správné seřazení oddílů se dá použít program fdisk - sám jsem měl podobný problém (oddíly jsou chybně seřazeny), ale fdisk je dokáže správně uspořádat (je tam uvnitř na to jedna volba). Povedlo se to bez ztráty dat, každopádně ale zálohu doporučuju. ;)
-
Diskové oddíly jsou chybně seřazeny
to je myslím jen nepřesný překlad anglického Partition table entries are not in disk order, kde se o "chybě" nic neříká. Znamená to jen, že oddíly na disku nejsou fyzicky seřazeny za sebou tak, jak vidíš ve výpisu fdisk -l. To by neměl být žádný problém. Naopak, pokud použiješ fdisk "expert mode" na nápravu této "chyby", může se Ti stát, že už nenabootuješ do systému, pokud zároveň neopravíš všechny odkazy na změněná označení oddílů v konfiguračních souborech (menu.lst, fstab). (A Ty, jak vidím, nepoužíváš UUID, takže bys to musel udělat určitě.)
Co se týče toho Grubu, osobně bych požádal o výpis z boot_info_script (do kódu!), návod viz třeba
http://forum.ubuntu.cz/index.php/topic,37648.msg276645.html#msg276645
-
Vypis dodan (ale jdu se do toho ted zas hrabat, tak mozna bude jeste dnes update).
Ad "serazeni" - ptave ze me mate, ze to NEhlasi toto (v porovnani s odkazovanym vlaknem).
Ad "nenabootujes" - ale ja stejne stale nenabootuju (jinam nez na liveCD) - zkusil jsem opravu dle http://wiki.ubuntu.cz/GRUB/Obnova#Pomoc.2BAO0_Ubuntu_Desktop_CD a vysledkem je Error 17. Tak jsem si moc nepomohl - zazalohuju konfiguraky a zkusim v tom udelat jeste vetsi zmatek.============================= Boot Info Summary: ==============================
=> Grub0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #2 for /boot/grub/stage2 and /boot/grub/menu.lst.
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sda2: _________________________________________________________________________
File system: ext3
Boot sector type: Grub
Boot sector info: Grub is installed in the boot sector of sda2 and looks
at sector 42624206 of the same hard drive for the
stage2 file, but no stage2 files can be found at this
location.
Operating System: Ubuntu 8.10
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
sda3: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ext3
Boot sector type: Unknown
Boot sector info:
Operating System: Ubuntu 9.04
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
sda6: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda7: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda7 starts
at sector 63.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x46cd46cc
Partition Boot Start End Size Id System
/dev/sda1 63 16,627,274 16,627,212 7 HPFS/NTFS
/dev/sda2 * 16,627,275 83,955,689 67,328,415 83 Linux
/dev/sda3 83,955,690 625,121,279 541,165,590 f W95 Ext d (LBA)
/dev/sda5 83,955,753 99,538,739 15,582,987 83 Linux
/dev/sda6 99,538,803 104,438,564 4,899,762 82 Linux swap / Solaris
/dev/sda7 104,438,628 625,121,279 520,682,652 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="48D0C675D0C668B0" LABEL="2-WinXP-6gb" TYPE="ntfs"
/dev/sda2: LABEL="Ubu-32gb" UUID="6ec438b1-100c-4304-b724-53f11c4dd6ee" TYPE="ext3"
/dev/sda5: LABEL="Ubu9" UUID="4bae7017-2c87-407c-b5af-3d9bd049f466" TYPE="ext3"
/dev/sda6: TYPE="swap" UUID="4d754e17-ea2b-488d-9f09-d49b93e8a513"
/dev/sda7: UUID="F860966260962800" LABEL="Strom-250gb" TYPE="ntfs"
=============================== "mount" output: ===============================
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=0755)
tmpfs on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=0755)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sda2 on /media/Ubu-32gb type ext3 (rw,nosuid,nodev,uhelper=hal)
/dev/sda5 on /media/Ubu9 type ext3 (rw,nosuid,nodev,uhelper=hal)
================================ sda1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
=========================== sda2/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 saved
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours white/blue
color cyan/black magenta/blue
#A splash image for the menu
#splashimage=(hd0,2)/boot/grub/splashimages/galaxie.xpm.gz
## 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=6ec438b1-100c-4304-b724-53f11c4dd6ee ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)
## 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=splash vga=normal quiet splash ec_intr=0 acpi=noirq
## 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
## 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 8.10, kernel 2.6.27-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-14-generic
title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 8.10, kernel 2.6.27-9-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-9-generic
quiet
# title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
# root (hd0,2)
# kernel /boot/vmlinuz-2.6.27-9-generic
# root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.27-9-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-7-generic
quiet
# title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
# root (hd0,2)
# kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, kernel 2.6.24-21-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.24-21-generic
quiet
# title Ubuntu 8.10, kernel 2.6.24-21-generic (recovery mode)
# root (hd0,2)
# kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.10, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
# title Pro Lamky a jinou zverinu:
# root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
# title WokProof
# root (hd0,0)
# makeactive
# chainloader +1
title WokProof - II. lite edition
root (hd0,1)
makeactive
chainloader +1
=============================== sda2/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda3 / ext3 relatime,errors=remount-ro 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sda7 /media/Strom250 ntfs-3g defaults 0 0
/dev/sda5 /media/Ubu9 ext3 relatime,errors=remount-ro 0 0
/dev/sda2 /media/2-WinXP-6gb ntfs-3g defaults 0 0
/dev/sda6 none swap sw 0 0
=================== sda2: Location of files loaded by Grub: ===================
22.0GB: boot/grub/menu.lst
21.9GB: boot/grub/stage2
21.9GB: boot/initrd.img-2.6.24-21-generic
29.3GB: boot/initrd.img-2.6.24-21-generic.bak
22.0GB: boot/initrd.img-2.6.27-11-generic
25.1GB: boot/initrd.img-2.6.27-14-generic
22.0GB: boot/initrd.img-2.6.27-7-generic
21.9GB: boot/initrd.img-2.6.27-9-generic
30.0GB: boot/vmlinuz-2.6.24-21-generic
28.2GB: boot/vmlinuz-2.6.27-11-generic
32.5GB: boot/vmlinuz-2.6.27-14-generic
23.3GB: boot/vmlinuz-2.6.27-7-generic
23.8GB: boot/vmlinuz-2.6.27-9-generic
25.1GB: initrd.img
22.0GB: initrd.img.old
32.5GB: vmlinuz
28.2GB: vmlinuz.old
=========================== sda5/boot/grub/menu.lst: ===========================
ud# 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 saved
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
color cyan/black magenta/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=/dev/sda5 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)
## 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-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
savedefault
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
quiet
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
savedefault
title Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-14-generic
title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-9-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-9-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-21-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.24-21-generic
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Pro Lamky a jinou zverinu:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
# title WokProof
# root (hd0,0)
# makeactive
# chainloader +1
title WokProof - II. lite edition
root (hd0,1)
makeactive
chainloader +1
savedefault
=============================== sda5/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
/dev/sda5 / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=4d754e17-ea2b-488d-9f09-d49b93e8a513 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda5: Location of files loaded by Grub: ===================
43.5GB: boot/grub/menu.lst
43.4GB: boot/grub/stage2
43.4GB: boot/initrd.img-2.6.28-11-generic
43.5GB: boot/vmlinuz-2.6.28-11-generic
43.4GB: initrd.img
43.5GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda5
00000000 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 |................|
*
00000200
Na správné seřazení oddílů se dá použít program fdisk - sám jsem měl podobný problém (oddíly jsou chybně seřazeny), ale fdisk je dokáže správně uspořádat (je tam uvnitř na to jedna volba). Povedlo se to bez ztráty dat, každopádně ale zálohu doporučuju. ;)
Nezalohuji (verim ;-) ). $ sudo fdisk /dev/sda
...
Command (m for help): x // x extra functionality (experts only)
...
Expert command (m for help): f // f fix partition order
[b]Nothing to do. Ordering is correct already.[/b] Jak jsem jiz psal arrange: u me to nehlasi chybne serazeni (to jen ja si myslim ze nejsou dobre).
-
Edit[/i]: Zkousim to poeditovat na uuid na Ubu9 (neb tam je (bylo :P ) "cisteji"):
============================= Boot Info Summary: ==============================
=> Grub0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #5 for /boot/grub/stage2 and /boot/grub/menu.lst.
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sda2: _________________________________________________________________________
File system: ext3
Boot sector type: Grub
Boot sector info: Grub is installed in the boot sector of sda2 and looks
at sector 42624206 of the same hard drive for the
stage2 file, but no stage2 files can be found at this
location.
Operating System: Ubuntu 8.10
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
sda3: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ext3
Boot sector type: Unknown
Boot sector info:
Operating System: Ubuntu 9.04
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
sda6: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda7: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda7 starts
at sector 63.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x46cd46cc
Partition Boot Start End Size Id System
/dev/sda1 63 16,627,274 16,627,212 7 HPFS/NTFS
/dev/sda2 * 16,627,275 83,955,689 67,328,415 83 Linux
/dev/sda3 83,955,690 625,121,279 541,165,590 f W95 Ext d (LBA)
/dev/sda5 83,955,753 99,538,739 15,582,987 83 Linux
/dev/sda6 99,538,803 104,438,564 4,899,762 82 Linux swap / Solaris
/dev/sda7 104,438,628 625,121,279 520,682,652 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="48D0C675D0C668B0" LABEL="2-WinXP-6gb" TYPE="ntfs"
/dev/sda2: LABEL="Ubu-32gb" UUID="6ec438b1-100c-4304-b724-53f11c4dd6ee" TYPE="ext3"
/dev/sda5: LABEL="Ubu9" UUID="4bae7017-2c87-407c-b5af-3d9bd049f466" TYPE="ext3"
/dev/sda6: TYPE="swap" UUID="4d754e17-ea2b-488d-9f09-d49b93e8a513"
/dev/sda7: UUID="F860966260962800" LABEL="Strom-250gb" TYPE="ntfs"
=============================== "mount" output: ===============================
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=0755)
tmpfs on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=0755)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sda5 on /media/Ubu9 type ext3 (rw,nosuid,nodev,uhelper=hal)
/dev/sda2 on /media/Ubu-32gb type ext3 (rw,nosuid,nodev,uhelper=hal)
================================ sda1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
=========================== sda2/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 saved
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours white/blue
color cyan/black magenta/blue
#A splash image for the menu
#splashimage=(hd0,2)/boot/grub/splashimages/galaxie.xpm.gz
## 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=6ec438b1-100c-4304-b724-53f11c4dd6ee ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)
## 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=splash vga=normal quiet splash ec_intr=0 acpi=noirq
## 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
## 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 8.10, kernel 2.6.27-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-14-generic
title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 8.10, kernel 2.6.27-9-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-9-generic
quiet
# title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
# root (hd0,2)
# kernel /boot/vmlinuz-2.6.27-9-generic
# root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.27-9-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-7-generic
quiet
# title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
# root (hd0,2)
# kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, kernel 2.6.24-21-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.24-21-generic
quiet
# title Ubuntu 8.10, kernel 2.6.24-21-generic (recovery mode)
# root (hd0,2)
# kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.10, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
# title Pro Lamky a jinou zverinu:
# root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
# title WokProof
# root (hd0,0)
# makeactive
# chainloader +1
title WokProof - II. lite edition
root (hd0,1)
makeactive
chainloader +1
=============================== sda2/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda3 / ext3 relatime,errors=remount-ro 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sda7 /media/Strom250 ntfs-3g defaults 0 0
/dev/sda5 /media/Ubu9 ext3 relatime,errors=remount-ro 0 0
/dev/sda2 /media/2-WinXP-6gb ntfs-3g defaults 0 0
/dev/sda6 none swap sw 0 0
=================== sda2: Location of files loaded by Grub: ===================
22.0GB: boot/grub/menu.lst
21.9GB: boot/grub/stage2
21.9GB: boot/initrd.img-2.6.24-21-generic
29.3GB: boot/initrd.img-2.6.24-21-generic.bak
22.0GB: boot/initrd.img-2.6.27-11-generic
25.1GB: boot/initrd.img-2.6.27-14-generic
22.0GB: boot/initrd.img-2.6.27-7-generic
21.9GB: boot/initrd.img-2.6.27-9-generic
30.0GB: boot/vmlinuz-2.6.24-21-generic
28.2GB: boot/vmlinuz-2.6.27-11-generic
32.5GB: boot/vmlinuz-2.6.27-14-generic
23.3GB: boot/vmlinuz-2.6.27-7-generic
23.8GB: boot/vmlinuz-2.6.27-9-generic
25.1GB: initrd.img
22.0GB: initrd.img.old
32.5GB: vmlinuz
28.2GB: vmlinuz.old
=========================== sda5/boot/grub/menu.lst: ===========================
ud# menu.lst - See: grub(8), info grub, update-grub(8)
### BEGIN AUTOMAGIC KERNELS LIST
default saved
timeout 5
#hiddenmenu
color cyan/black magenta/blue
## ## End Default Options ##
title Ubuntu 9.04, kernel 2.6.28-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=4bae7017-2c87-407c-b5af-3d9bd049f466 ro
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04,(hd1,4)
root (hd1,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=4bae7017-2c87-407c-b5af-3d9bd049f466 ro
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04,(hd1,2)
root (hd1,2)
kernel /boot/vmlinuz-2.6.28-11-generic root=4bae7017-2c87-407c-b5af-3d9bd049f466 ro
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04,(hd0,2)
root (hd0,2)
kernel /boot/vmlinuz-2.6.28-11-generic root=4bae7017-2c87-407c-b5af-3d9bd049f466 ro
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=4bae7017-2c87-407c-b5af-3d9bd049f466 ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
quiet
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
savedefault
title Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-14-generic
title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-9-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-9-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-21-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.24-21-generic
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Pro Lamky a jinou zverinu:
root
title WokProof - II. lite edition
root (hd0,1)
makeactive
chainloader +1
savedefault
title SJEDNOCENO S 32 gb + dle UUID:
root
title WokProof - II. lite edition
root (hd0,1)
makeactive
title Ubuntu 8.10, kernel 2.6.27-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-14-generic
title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 8.10, kernel 2.6.27-9-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-9-generic
quiet
# title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
# root (hd0,2)
# kernel /boot/vmlinuz-2.6.27-9-generic
# root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.27-9-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-7-generic
quiet
# title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
# root (hd0,2)
# kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, kernel 2.6.24-21-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.24-21-generic
quiet
# title Ubuntu 8.10, kernel 2.6.24-21-generic (recovery mode)
# root (hd0,2)
# kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.10, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
title VARIACE NA UUID dle fraktika
title Ubuntu 8.10, sda5 - ubu 9
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=4bae7017-2c87-407c-b5af-3d9bd049f466 ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, hd0,2 sda6 (swap)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=4d754e17-ea2b-488d-9f09-d49b93e8a513 ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, 02 sda7 (data)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=F860966260962800 ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, 02 sda2 (ubu 32)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
####### ls -l /dev/disk/by-uuid/
# 48D0C675D0C668B0 -> ../../sda1
# 4bae7017-2c87-407c-b5af-3d9bd049f466 -> ../../sda5
# 4d754e17-ea2b-488d-9f09-d49b93e8a513 -> ../../sda6
# 6ec438b1-100c-4304-b724-53f11c4dd6ee -> ../../sda2
# F860966260962800 -> ../../sda7
##################
# cp, blkid,
# sudo gedit /media/Ubu-32gb/boot/grub/menu.lst
# sudo gedit /media/Ubu9/etc/fstab
# sudo fdisk -l
# vol_id /dev/sda5 --uuid
#
##
##
##
##################
title ZNOVU TOTEZ, JEN ZAMENENO (hd0,x) za (hd1,x)
root
title Ubuntu 9.04, UUID=4bae7017-2c87-407c-b5af-3d9bd049f466
root (hd1,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=4bae7017-2c87-407c-b5af-3d9bd049f466 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
savedefault
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) 4bae7017-2c87-407c-b5af-3d9bd049f466
root (hd1,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=4bae7017-2c87-407c-b5af-3d9bd049f466 ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
root (hd1,4)
kernel /boot/memtest86+.bin
quiet
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-14-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
savedefault
title Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-14-generic
title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-9-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-9-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-21-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.24-21-generic
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Pro Lamky a jinou zverinu:
root
title WokProof - II. lite edition (hd1,2)
root (hd1,2)
makeactive
chainloader +1
savedefault
title SJEDNOCENO S 32 gb + dle UUID:
root
title WokProof - II. lite edition
root (hd1,1)
makeactive
title Ubuntu 8.10, kernel 2.6.27-14-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-14-generic
title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 8.10, kernel 2.6.27-9-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-9-generic
quiet
# title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
# root (hd1,2)
# kernel /boot/vmlinuz-2.6.27-9-generic
# root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.27-9-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.27-7-generic
quiet
# title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
# root (hd1,2)
# kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, kernel 2.6.24-21-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq
initrd /boot/initrd.img-2.6.24-21-generic
quiet
# title Ubuntu 8.10, kernel 2.6.24-21-generic (recovery mode)
# root (hd1,2)
# kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro single
# initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.10, memtest86+
root (hd1,2)
kernel /boot/memtest86+.bin
quiet
title VARIACE NA UUID dle fraktika
title Ubuntu 8.10, sda5 - ubu 9
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=4bae7017-2c87-407c-b5af-3d9bd049f466 ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, hd0,2 sda6 (swap)
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=4d754e17-ea2b-488d-9f09-d49b93e8a513 ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, 02 sda7 (data)
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=F860966260962800 ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, 02 sda2 (ubu 32)
root (hd1,2)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=6ec438b1-100c-4304-b724-53f11c4dd6ee ro splash vga=normal quiet splash ec_intr=0 acpi=noirq resume=/dev/sda7
initrd /boot/initrd.img-2.6.27-14-generic
=============================== sda5/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
UUID=4bae7017-2c87-407c-b5af-3d9bd049f466 / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=4d754e17-ea2b-488d-9f09-d49b93e8a513 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda5: Location of files loaded by Grub: ===================
43.4GB: boot/grub/menu.lst
43.4GB: boot/grub/stage2
43.4GB: boot/initrd.img-2.6.28-11-generic
43.5GB: boot/vmlinuz-2.6.28-11-generic
43.4GB: initrd.img
43.5GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda5
00000000 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 |................|
*
00000200
PS:
Omlouvam se za needitaci predchoziho, lec: " Zpráva přesáhla maximální povolenou délku (40000 znaků). "
PPS:
Tak uz krom zminene chyby 22 jsem "dosahl" na error 17 (cant mount selected partition - pro kombinace typu hd(0,2) ), error 21 (dont exist - pro hd(1,4), hd(1,2) apod) error 12 a nekolik dalsich (typu neznamy filesystem apod.) :D
PPPS (edit):
Tak title Ubuntu 9.04, kernel 2.6.28-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=4bae7017-2c87-407c-b5af-3d9bd049f466 ro
initrd /boot/initrd.img-2.6.28-11-generic
quiet uz vedlo k jakemusi nabihani, bohuzel se to seklo na http://fraktik.php5.cz/img/screen-Ubu9-kernel_panic.JPG :
...
Mounting root file system...
/init: line 217: syntax error: 0x4bae7017-2c87-407c-b5af-3d9bd049f466
... Kernel panic - not syncing: Attempted to kill init!
(ftrace buffer emty)
PPPPS:
Zacinam uvazovat o proste preinstalaci Ubu9 (stejne tam mam jen zakladni utilitky dotazene a jinak nic extra).
-
Je fakt, že každý jsme jiný... Někdo upřednostňuje systém pokus - omyl, někdo nejdřív studuje, studuje, pak je třeba tak zmatený, že se k praxi ani nedostane... Asi budeš ten první případ ;)
Já doporučuji, aby sis nastudoval Grub, fstab, obnova Grubu, linuxové značení disků (http://wiki.ubuntu.cz/Linuxov%C3%A9%20zna%C4%8Den%C3%AD%20disk%C5%AF#Zna.2BAQ0-en.2BAO0_GRUBu), vše na wiki.
Ty například používáš odkazy typu (hd1,x), přitom podle výpisu fdisk -l máš jenom jeden disk.
Nebo ten Grub stage 1 nainstalovaný do sda2, který odkazuje na neexistující /boot.
Pravda ale je, že podle Tvého posledního příspěvku (PPPS (edit)) jsi našel správnou cestu (Grub na sda neboli (hd0), odkazuje na sda5 (hd0,4), kde menu.lst odkazuje na systém na stejném oddíle). To, že to pak háže Kernel panic, už je otázka jiná, ne Grubu.
-
Hmm :'(
Cekal jsem (snazil jsem se) o trochu konktretnější popostrčení...
Ad "každý jsme jiný... nastuduj si" - já bych se spíš zařadil do té druhé skupiny - resp. můj přístup většinou spočívá v "zkusíme zda to (jednodušše) půjde a pokud nepůjde, začneme googlovat".
Jenže pak studuju, studuju ... studuju... a (ke konečné) opravě se (třeba přes různé další a lepší vychytávky) často už ani nedostanu!
Ohledně grubu a záchrany mé mbr jsem studiu podobných vláken věnoval minimálne už 3 x 4 hodiny (navíc tu wiki jsem si procházel z podobných důvodů už před rokem a a tak ji mám (a nejen českou) už poměrně prolezlou (zrovna ten odkaz o značení disků jsem měl (pro jistotu) otevřen naposledy dnes ráno). ???) Asi jsem (v té aplikaci nastudovaného) trochu pomalejší (a sám se v tom svém "systému" přestávám orientovat).
Ale zrovínka v tomto případě bych řešení/radu/nakopnutí docela uvítal (tj. také důvod, proč (výjimečně) loudím zde na fóru o pozornost).
Ad (hd1,x) - ano, to zkouším, neb jsem doufal, že by to mohlo zabrat... nic víc v tom není :-\ To, že to pak háže Kernel panic, už je otázka jiná, ne Grubu.
... a tušíte někdo, v čem by mohl být háček? Alespoň nejaké drobné popostrčení bych ocenil :-\
Chyba bude asi někde tu:kernel /boot/vmlinuz-2.6.28-11-generic root=4bae7017-2c87-407c-b5af-3d9bd049f466 ro
initrd /boot/initrd.img-2.6.28-11-generic
-
Hmm :'(
Cekal jsem (snazil jsem se) o trochu konktretnější popostrčení...
Ad "každý jsme jiný... nastuduj si" - já bych se spíš zařadil do té druhé skupiny - resp. můj přístup většinou spočívá v "zkusíme zda to (jednodušše) půjde a pokud nepůjde, začneme googlovat".
Jenže pak studuju, studuju ... studuju... a (ke konečné) opravě se (třeba přes různé další a lepší vychytávky) často už ani nedostanu!
Ohledně grubu a záchrany mé mbr jsem studiu podobných vláken věnoval minimálne už 3 x 4 hodiny (navíc tu wiki jsem si procházel z podobných důvodů už před rokem a a tak ji mám (a nejen českou) už poměrně prolezlou (zrovna ten odkaz o značení disků jsem měl (pro jistotu) otevřen naposledy dnes ráno). ???) Asi jsem (v té aplikaci nastudovaného) trochu pomalejší (a sám se v tom svém "systému" přestávám orientovat).
Ale zrovínka v tomto případě bych řešení/radu/nakopnutí docela uvítal (tj. také důvod, proč (výjimečně) loudím zde na fóru o pozornost).
Ad (hd1,x) - ano, to zkouším, neb jsem doufal, že by to mohlo zabrat... nic víc v tom není :-\ To, že to pak háže Kernel panic, už je otázka jiná, ne Grubu.
... a tušíte někdo, v čem by mohl být háček? Alespoň nejaké drobné popostrčení bych ocenil :-\
Chyba bude asi někde tu:kernel /boot/vmlinuz-2.6.28-11-generic root=4bae7017-2c87-407c-b5af-3d9bd049f466 ro
initrd /boot/initrd.img-2.6.28-11-generic
Takto vypadá můj zapis z menu.lst
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 16583c40-bb2d-4491-b86e-a855f7a7ccf4
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=16583c40-bb2d-4491-b86e-a855f7a7ccf4 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
-
Dělat psychologický profil tazatele není hezká věc, proto jsem tam dal toho smajlíka, abys' to nebral moc vážně ;) Prostě mě jen pobavil Tvůj výpis menu.lst s 53 položkami (ne řádky!) a komentáři typu
Pro Lamky a jinou zverinu
VARIACE NA UUID dle fraktika
apod.
Přišlo mi jednodušší si přečíst tu wikinu než se vypisovat s padesáti-třemi možnostmi.
Ale Tvoje nadšení je nakažlivé, a tak jsem se i já chytl dnes za nos a prostudoval jsem si Kernel panic a skript init, a snad Ti pomůže, k čemu jsem došel:
Skript init najdeš jako /usr/share/initramfs-tools/init. Řádek 217 vypadá taktoparse_numeric ${ROOT}
Podle Tvého výpisu to píše syntax error line 217, příčiny můžou být podle mě tři:
- obtížně zjistitelná. Píše to syntax error, ale chyba je někde úplně jinde. Pak bych zkusil LiveCD, jestli tam 9.04 funguje.
- poškozený soubor init. Prohlídni si ho, jestli tam nejsou nějaké vyložené nesmysly, obzvláště ten řádek 217, jestli sedí.
- problém s proměnnou ROOT. V Tvém případě je jejím obsahem 0x4bae7017-2c87-407c-b5af-3d9bd049f466, což by mělo být správně, ale občas se stane, že se tam přiloudá nějaký nepřípustný znak, a není vidět, a pak to nesedí. Tady bych doporučoval nabootovat takto:title Ubuntu 9.04, kernel 2.6.28-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro
initrd /boot/initrd.img-2.6.28-11-generic
quiet
Tak příjemnou zábavu. (smajlík!)
-
Dekuju moc za rozborku (i sborku).
Ad 53 polozek - njn. zkousel jsem co to slo! ::) ... a zaroven se udrzet nad veci...
Me rano napadla moznost, zda jsem naopak z toho menu.lst neumazal neco potrebneho (na zacatku s temi #), tak jsem to tam prepsal z nejake starsi zalohy... jenze pak jsem na to zapomnel a zratil inspiraci co dal zkouset - a tak jsem dal rovnou preinstalovat to Ubu9, coz zabralo.
LiveCD bezi v pohode (nekolikrat jsem to tady psal, ze vsechny me zapisky (az na tento finalni, ktery delam z puvodniho Ubu 8.10) byly z LiveCD (nejnovejsi 9.04 samozrejme)). Ted jeste dodelat odkaz na tu WinXP partition a je to v "puvodnim" stavu.
Jeste jednou diky za snahu - a pokud stojis o "experimentalni" vysledky, mohu zkusit prepsat to menu.lst na onu "mirne rozsirenou" versi a dodat tam i tu tvou (55.) polozku s nahrazenym uuid (priznam se, ze tahle varianta mne nenapadla - uuid jsem kopiroval prostym ctrl/shift ins).
-
Jeste jednou diky za snahu - a pokud stojis o "experimentalni" vysledky, mohu zkusit prepsat to menu.lst na onu "mirne rozsirenou" versi a dodat tam i tu tvou (55.) polozku s nahrazenym uuid (priznam se, ze tahle varianta mne nenapadla - uuid jsem kopiroval prostym ctrl/shift ins).
Teď už to nedělej, je to zbytečné, ten účel byl jiný: /dev/sda5 se prostě kopíruje lépe než celé UUID. Spíš si zkusím někdy sám dát do menu.lst třeba špatně kódované UUID, jestli budu schopen tu chybu replikovat. Je to totiž zajímavá chyba - na Googlu jsem našel snad jen dva odkazy a bez řešení (teda kromě reinstalu - jako v tomto případě). Ale pokud jsi to kopíroval přes schránku, tak asi byla chyba opravdu někde jinde, takže by Ti mé rady asi nepomohly i tak.
Spíš by mě zajímalo, jestli nebyl poškozený ten init, ale to už teď asi nezjistíme.
LiveCD bezi v pohode (nekolikrat jsem to tady psal, ze vsechny me zapisky (az na tento finalni, ktery delam z puvodniho Ubu 8.10) byly z LiveCD (nejnovejsi 9.04 samozrejme)).
Z těch zápisů nebylo jasné, o jaké LiveCD jde (Ubuntu 8.10? jiná distribuce?)
-
Ano, to mne hned pri cteni tve odpovedi napadlo, disk jsem nemazal, lec vsechny systemove adresare si cista instalace (samozrejme) prepsala (preci jen, nejake kouzlo ten M$ pristup prepisu jmena jiz pouzivaneho adresare ma...).
Snad nekdy az se budu velmi vyrazne nudit, se v tom zkusim pohrabat a vyvolat (opatrne a rizene) tu chybku zpet.