Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: existpierre 15 Března 2011, 09:44:05
-
Dobry den,
Pred casom, mi instalacia jedneho systemu zlepila dve particie do jednej, podarilo sa mi to cez testdisk vsetko obnovit, no teraz nemozem instalovat ziadny system bez toho, aby som nevytvoril nove particie nanovo. V gparted vidim svoj disk, ale nema ziadne particie. Pricom vsetky tri systemy (Linux Mint, Linux CNC a win 7) slapu v poriadku.
(http://www.ulozisko.sk/obrazky/small-383202/Obrazovka--dev-sda_-_GParted.png) (http://www.ulozisko.sk/obrazky/383202/Obrazovka--dev-sda_-_GParted.png)
Uz sa s tym param dost dlho a uz neviem ako dalej, tak by som vas chcel poprosit o pomoc :(
dakujem.
-
Ahoj. Postupuj podle návodu tady (http://bootinfoscript.sourceforge.net/) ("How to use the boot info script"). A pak se s námi o obsah souboru RESULTS.txt poděl. :)
-
dakujem za reakciu, prikladam obsah
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #2 for /boot/grub.
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda2: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda3: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 9 Isadora
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda4: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
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.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 2,048 60,637,183 60,635,136 7 HPFS/NTFS
/dev/sda2 * 60,637,184 82,120,703 21,483,520 83 Linux
/dev/sda3 82,122,752 103,606,271 21,483,520 83 Linux
/dev/sda4 103,606,335 625,153,409 521,547,075 f W95 Ext d (LBA)
/dev/sda5 103,608,320 145,016,831 41,408,512 83 Linux
/dev/sda6 145,018,818 154,079,393 9,060,576 82 Linux swap / Solaris
/dev/sda7 154,079,478 625,121,279 471,041,802 7 HPFS/NTFS
/dev/sda4 ends after the last sector of /dev/sda
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda: PTTYPE="dos"
/dev/sda1 A6E03082E0305AAF ntfs
/dev/sda2 7f677904-ac13-4dbc-a2cb-50e067a58123 ext4
/dev/sda3 f6b51d0f-d08d-4bcd-b57f-59efb71b6aca ext4
/dev/sda4: PTTYPE="dos"
/dev/sda5 c4b5cff0-1e69-4c15-bd97-2ff68798afdc ext4
/dev/sda6 b331a157-d91e-488a-b9ee-b5048dc88511 swap
/dev/sda7 E884616D84613F66 ntfs Data
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda3 / ext4 (rw,errors=remount-ro)
/dev/sda5 /home ext4 (rw)
/dev/sda7 /media/Data fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda1 /media/Windows fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 /media/CNC ext4 (rw)
=========================== sda2/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="5"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 7f677904-ac13-4dbc-a2cb-50e067a58123
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 7f677904-ac13-4dbc-a2cb-50e067a58123
set locale_dir=($root)/boot/grub/locale
set lang=sk
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-122-rtai' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 7f677904-ac13-4dbc-a2cb-50e067a58123
linux /boot/vmlinuz-2.6.32-122-rtai root=UUID=7f677904-ac13-4dbc-a2cb-50e067a58123 ro vga=792 quiet splash
initrd /boot/initrd.img-2.6.32-122-rtai
}
menuentry 'Ubuntu, with Linux 2.6.32-122-rtai (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 7f677904-ac13-4dbc-a2cb-50e067a58123
echo 'Loading Linux 2.6.32-122-rtai ...'
linux /boot/vmlinuz-2.6.32-122-rtai root=UUID=7f677904-ac13-4dbc-a2cb-50e067a58123 ro single vga=792
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-122-rtai
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 7f677904-ac13-4dbc-a2cb-50e067a58123
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 7f677904-ac13-4dbc-a2cb-50e067a58123
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set a6e03082e0305aaf
chainloader +1
}
menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda3) (on /dev/sda3)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set f6b51d0f-d08d-4bcd-b57f-59efb71b6aca
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=f6b51d0f-d08d-4bcd-b57f-59efb71b6aca ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda3) -- recovery mode (on /dev/sda3)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set f6b51d0f-d08d-4bcd-b57f-59efb71b6aca
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=f6b51d0f-d08d-4bcd-b57f-59efb71b6aca ro single
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
=============================== sda2/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=7f677904-ac13-4dbc-a2cb-50e067a58123 / ext4 errors=remount-ro 0 1
# /media/Data was on /dev/sda5 during installation
UUID=E884616D84613F66 /media/Data ntfs defaults,nls=utf8,umask=007,gid=46 0 0
# /media/Mint was on /dev/sda3 during installation
UUID=f6b51d0f-d08d-4bcd-b57f-59efb71b6aca /media/Mint ext4 defaults 0 2
# /media/Windows was on /dev/sda1 during installation
UUID=A6E03082E0305AAF /media/Windows ntfs defaults,nls=utf8,umask=007,gid=46 0 0
=================== sda2: Location of files loaded by Grub: ===================
33.3GB: boot/grub/core.img
35.8GB: boot/grub/grub.cfg
33.4GB: boot/initrd.img-2.6.32-122-rtai
33.3GB: boot/vmlinuz-2.6.32-122-rtai
33.4GB: initrd.img
33.3GB: vmlinuz
=========================== sda3/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set f6b51d0f-d08d-4bcd-b57f-59efb71b6aca
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set f6b51d0f-d08d-4bcd-b57f-59efb71b6aca
set locale_dir=($root)/boot/grub/locale
set lang=sk
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=4
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/06_mint_theme ###
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set f6b51d0f-d08d-4bcd-b57f-59efb71b6aca
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda3)" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set f6b51d0f-d08d-4bcd-b57f-59efb71b6aca
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=f6b51d0f-d08d-4bcd-b57f-59efb71b6aca ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda3) -- recovery mode" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set f6b51d0f-d08d-4bcd-b57f-59efb71b6aca
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=f6b51d0f-d08d-4bcd-b57f-59efb71b6aca ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set f6b51d0f-d08d-4bcd-b57f-59efb71b6aca
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set f6b51d0f-d08d-4bcd-b57f-59efb71b6aca
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set a6e03082e0305aaf
chainloader +1
}
menuentry "Ubuntu, with Linux 2.6.32-122-rtai (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 7f677904-ac13-4dbc-a2cb-50e067a58123
linux /boot/vmlinuz-2.6.32-122-rtai root=UUID=7f677904-ac13-4dbc-a2cb-50e067a58123 ro vga=792 quiet splash
initrd /boot/initrd.img-2.6.32-122-rtai
}
menuentry "Ubuntu, with Linux 2.6.32-122-rtai (recovery mode) (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 7f677904-ac13-4dbc-a2cb-50e067a58123
linux /boot/vmlinuz-2.6.32-122-rtai root=UUID=7f677904-ac13-4dbc-a2cb-50e067a58123 ro single vga=792
initrd /boot/initrd.img-2.6.32-122-rtai
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
=============================== sda3/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
#Entry for /dev/sda4 :
UUID=f6b51d0f-d08d-4bcd-b57f-59efb71b6aca / ext4 errors=remount-ro 0 1
#Entry for /dev/sda7 :
UUID=c4b5cff0-1e69-4c15-bd97-2ff68798afdc /home ext4 defaults 0 2
#Entry for /dev/sda5 :
UUID=E884616D84613F66 /media/Data ntfs-3g defaults,nosuid,nodev,locale=sk_SK.utf8 0 0
#Entry for /dev/sda1 :
/dev/sda1 /media/Windows ntfs-3g defaults,nosuid,nodev,locale=sk_SK.utf8 0 0
#Entry for /dev/sda2 :
/dev/sda2 /media/CNC ext4 defaults 0 2
#Entry for /dev/sda6 :
UUID=b331a157-d91e-488a-b9ee-b5048dc88511 none swap sw 0 0
=================== sda3: Location of files loaded by Grub: ===================
44.3GB: boot/grub/core.img
47.7GB: boot/grub/grub.cfg
52.6GB: boot/initrd.img-2.6.32-21-generic
45.5GB: boot/vmlinuz-2.6.32-21-generic
52.6GB: initrd.img
45.5GB: vmlinuz
tie konzolove nastroje disky vidia, ale gparted a dokonca kazda linux instalacka tie disky pri instalacii nevidi
-
/dev/sda1 2,048 60,637,183 60,635,136 7 HPFS/NTFS
/dev/sda2 * 60,637,184 82,120,703 21,483,520 83 Linux
/dev/sda3 82,122,752 103,606,271 21,483,520 83 Linux
/dev/sda4 103,606,335 625,153,409 521,547,075 f W95 Ext d (LBA)
/dev/sda5 103,608,320 145,016,831 41,408,512 83 Linux
/dev/sda6 145,018,818 154,079,393 9,060,576 82 Linux swap / Solaris
/dev/sda7 154,079,478 625,121,279 471,041,802 7 HPFS/NTFS
/dev/sda4 ends after the last sector of /dev/sdaty udaje nesedi, napr. sda4 jakoze konci az za hranici disku, ono to sice tak nejak funguje, ale parted odmita pracovat s nekonzistentni tabulkou oddilu
mas dve moznosti
- vse preinstalovat ;)
- pokusit se to opravit nejakym nastrojem na editaci tabulky oddilu, treba sfdisk
-
citam man sfdisk no docital som sa akurat pre check konzistencie zadat sfdisk -V /dev/sda, vypisalo mi to presne to co vravis,
peter@peter-laptop ~ $ sudo sfdisk -V /dev/sda
[sudo] password for peter:
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Warning: partition 4 extends past end of disk
no ale uz som z tho jelen, akym parametrom by som to dokazal napravit? Nechcem to prave preinstalovat, snazim sa to zachranit
-
Vyčerpávající příspěvek na toto téma. (http://ubuntuforums.org/showpost.php?p=10414932&postcount=20)
-
PARADA!!!
Opat viem nieco nove :) . Velmi pekne Vam obom dakujem za pomoc, uz pekne vidim disky tak ako maju byt. K+
-
Rád jsem pomohl. :) Pokud máš čas a náladu, napiš sem prosím, jak jsi postupoval. Také můžeš téma označit jako vyřešené (úpravou prvního příspěvku).
-
postupoval som presne podla toho "vycerpavajuceho postupu" takze tam nie je asi ani co riesit :) konkretnejsie tento link, ktory tam bol:
http://www.rodsbooks.com/missing-parts/index.html, nastroj fixparts to napravil