Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: graviton 09 Května 2010, 21:01:01
-
chvíli potom co jsem "došmodrchal" sudo pravomoc
( http://forum.ubuntu.cz/index.php/topic,46965.0.html )
což už sem editací /etc/sudoers vyřešil
tak se mi přestalo ubuntu načítat úplně
ať už normal nebo recovery mode
vždy načítá normálně, až po bílý symbol ubuntu
ale potom se nedostane k přihlašovacímu oknu
ale vyskočí
"Mount of root filesystem failed. -dlouhá série čísel nejspíš číslo disku-
A maintenance shell will now be started.
CONTROL-D will terminate this shell and restart.
root..#"
ještě dodám že jsem asi před týdnem or so upgradoval z verze 9.04 na 9.10
vypadá to že root ("/") je normálně načtený
když se zkusím podívat do /media
tak je načtený pouze disk který je typu FAT
a disky ntfs ne
všechny se předtím normálně načítaly při startu (pomocí conf souboru fdisk nebo jak je to)
když zkusim umount -a
tak hlásí že ten FAT disk je používaný, jestli je to vodítko?
ještě dodám že mám nainstalovány i winXP
ze kterých se dá dostat na všechny disky
ale nikdy jsem nedoinstaloval podporu "ext" nebo jak je ten linuxový souborový systém/diskový typ
takže root mojeho ubunta sem na něm nikdy neviděl
nevím co s tím?
prosím o radu :)
-
Najeď do LiveCD a dej tu výstup z boot_info_script (http://wiki.ubuntu.cz/boot_info_script).
-
výpis z boot_info_script
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sda
=> Grub 0.97 is installed in the MBR of /dev/sdb and looks on the same drive
in partition #1 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: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdb1: _________________________________________________________________________
File system: ext2
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
sdb2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb6: _________________________________________________________________________
File system: vfat
Boot sector type: -
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xd939d939
Partition Boot Start End Size Id System
/dev/sda1 * 63 40,965,749 40,965,687 7 HPFS/NTFS
/dev/sda2 40,965,750 390,716,864 349,751,115 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xb9bd8721
Partition Boot Start End Size Id System
/dev/sdb1 * 63 19,535,039 19,534,977 83 Linux
/dev/sdb2 19,535,040 234,436,544 214,901,505 5 Extended
/dev/sdb5 19,535,103 21,494,969 1,959,867 82 Linux swap / Solaris
/dev/sdb6 21,495,033 234,436,544 212,941,512 b W95 FAT32
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 6830D59030D5659A ntfs
/dev/sda2 8C08E67008E658AA ntfs PIC_READ
/dev/sdb1 9e10d4d1-83da-439f-8971-877ba384b0e8 ext2 WINPROG
/dev/sdb5 86ea6461-e56c-426f-8877-1b86be69f640 swap
/dev/sdb6 8443-F21D vfat ELSE
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
rootfs / rootfs (rw)
/dev/scd0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)
================================ sda1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\OKNA
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\OKNA="Microsoft Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
=========================== sdb1/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 10
## 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=9e10d4d1-83da-439f-8971-877ba384b0e8 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=9e10d4d1-83da-439f-8971-877ba384b0e8
## 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.10, kernel 2.6.31-21-generic
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-21-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro quiet splash
initrd /boot/initrd.img-2.6.31-21-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-21-generic (recovery mode)
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-21-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro single
initrd /boot/initrd.img-2.6.31-21-generic
title Ubuntu 9.10, kernel 2.6.31-20-generic
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-20-generic (recovery mode)
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro single
initrd /boot/initrd.img-2.6.31-20-generic
title Ubuntu 9.10, kernel 2.6.31-19-generic
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-19-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro quiet splash
initrd /boot/initrd.img-2.6.31-19-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-19-generic (recovery mode)
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-19-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro single
initrd /boot/initrd.img-2.6.31-19-generic
title Ubuntu 9.10, kernel 2.6.31-17-generic
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-17-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro quiet splash
initrd /boot/initrd.img-2.6.31-17-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-17-generic (recovery mode)
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-17-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro single
initrd /boot/initrd.img-2.6.31-17-generic
title Ubuntu 9.10, kernel 2.6.31-16-generic
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-16-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-16-generic (recovery mode)
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.31-16-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro single
initrd /boot/initrd.img-2.6.31-16-generic
title Ubuntu 9.10, kernel 2.6.28-16-generic
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet
title Ubuntu 9.10, kernel 2.6.28-16-generic (recovery mode)
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 ro single
initrd /boot/initrd.img-2.6.28-16-generic
title Ubuntu 9.10, memtest86+
uuid 9e10d4d1-83da-439f-8971-877ba384b0e8
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 Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
# title Microsoft Windows XP Professional
# rootnoverify (hd0,0)
# savedefault
# makeactive
# chainloader +1
title Mrqosoft Wokna >X-P Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
=============================== sdb1/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/sdb1 during installation
UUID=9e10d4d1-83da-439f-8971-877ba384b0e8 / ext2 relatime,errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=86ea6461-e56c-426f-8877-1b86be69f640 none swap sw 0 0
#200GB_ -mysim
#/dev/sda1: TYPE="ntfs", PROG, 20GB
#NO#UUID=6830D59030D5659A /media/WINPROG ntfs-3g default,user,umask=222,nls=utf8 0 0
UUID=6830D59030D5659A /media/WINPROG ntfs default,users,umask=000 0 0
#/dev/sda2: PIC_READ LABEL="PIC_READ" TYPE="ntfs"
UUID=8C08E67008E658AA /media/PIC_READ ntfs-3g default,user,umask=000,nls=utf8 0 0
#NO#UUID=8C08E67008E658AA /media/PIC_READ ntfs default,users,umask=000 0 0
#120GB_
# partition Rozšířený ?
#/dev/sdb2
#/dev/sdb6: LABEL="ELSE" TYPE="vfat"
#UUID=8443-F21D /media/_ELSE vfat defaults,user,umask=000 0 0
/dev/sdb6 /media/ELSE vfat defaults,users,umask=000 0 0
#cd ?
#/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sdb1: Location of files loaded by Grub: ===================
1.3GB: boot/grub/menu.lst
1.3GB: boot/grub/stage2
1.3GB: boot/initrd.img-2.6.28-16-generic
1.5GB: boot/initrd.img-2.6.31-16-generic
2.2GB: boot/initrd.img-2.6.31-17-generic
2.4GB: boot/initrd.img-2.6.31-19-generic
1.3GB: boot/initrd.img-2.6.31-20-generic
1.4GB: boot/initrd.img-2.6.31-21-generic
1.3GB: boot/vmlinuz-2.6.28-16-generic
1.3GB: boot/vmlinuz-2.6.31-16-generic
2.0GB: boot/vmlinuz-2.6.31-17-generic
2.3GB: boot/vmlinuz-2.6.31-19-generic
1.3GB: boot/vmlinuz-2.6.31-20-generic
1.2GB: boot/vmlinuz-2.6.31-21-generic
1.4GB: initrd.img
1.3GB: initrd.img.old
1.2GB: vmlinuz
1.3GB: vmlinuz.old
any thoughts? :)
-
Výpis vypadá OK.
Zkus body 1-4 návodu
http://wiki.ubuntu.cz/%C5%98e%C5%A1en%C3%AD%20probl%C3%A9m%C5%AF/Bootov%C3%A1n%C3%AD
-
chystám se na ty rady..
ještě jsem zjistil že se prohodily "názvy" oddílů na disku
nemohl by to být ten problém?
20GBajtový oddíl na kterém je windows jsem měl pojmenovaný WINPROG
ale teď se pod jeho "labelem" načítá 10GB oddíl s linuxem
oddíl s linuxem jsem pojmenovaný neměl takže se to neprohodilo
--> 20GBoddíl s win se načítá pod (chápu že bez_názvu) "20 GB Media"
fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd939d939
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 24321 174875557+ 7 HPFS/NTFS
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb9bd8721
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1216 9767488+ 83 Linux
/dev/sdb2 1217 14593 107450752+ 5 Extended
/dev/sdb5 1217 1338 979933+ 82 Linux swap / Solaris
/dev/sdb6 1339 14593 106470756 b W95 FAT32
linux = /dev/sdb1
GParted -> oddíl zkontrolovat
GParted 0.3.8
Libparted 1.8.9
Check and repair filesystem (ext2) on /dev/sdb1 00:02:28 ( SUCCESS )
calibrate /dev/sdb1 00:00:00 ( SUCCESS )
path: /dev/sdb1
start: 63
end: 19535039
size: 19534977 (9.32 GiB)
check filesystem on /dev/sdb1 for errors and (if possible) fix them 00:02:27 ( SUCCESS )
e2fsck -f -y -v /dev/sdb1
Průchod 1: Kontroluji inode, bloky a velikosti
Průchod 2: Kontroluji strukturu adresářů
Průchod 3: Kontroluji dosažitelnost adresářů
Průchod 4: Kontroluji poÄty odkazů
Průchod 5: Kontroluji souhrnné informace skupin
382770 inodes used (31.33%)
12728 non-contiguous inodes (3.3%)
PoÄet iuzlů s ind/dind/tind bloky: 18612/152/0
1992685 blocks used (81.60%)
0 bad blocks
0 large files
293185 regular files
42714 directories
68 character device files
26 block device files
5 fifos
532 links
46742 symbolic links (36725 fast symbolic links)
21 sockets
--------
383293 files
e2fsck 1.41.3 (12-Oct-2008)
grow filesystem to fill the partition 00:00:01 ( SUCCESS )
resize2fs /dev/sdb1
resize2fs 1.41.3 (12-Oct-2008)
Souborový systém již je dlouhý 2441872 bloků. Nenà co dělat!
========================================
sudo fsck -fv /dev/sdxx
Průchod 1: Kontroluji inode, bloky a velikosti
Průchod 2: Kontroluji strukturu adresářů
Průchod 3: Kontroluji dosažitelnost adresářů
Průchod 4: Kontroluji počty odkazů
Průchod 5: Kontroluji souhrnné informace skupin
382770 inodes used (31.33%)
12728 non-contiguous inodes (3.3%)
Počet iuzlů s ind/dind/tind bloky: 18612/152/0
1992685 blocks used (81.60%)
0 bad blocks
0 large files
293185 regular files
42714 directories
68 character device files
26 block device files
5 fifos
532 links
46742 symbolic links (36725 fast symbolic links)
21 sockets
--------
383293 files
..
SMART Disabled.
..
ten disk s linuxem
podle properties v nautilusu
ext3
7,9 GB used
1,2 GB free
df -Th
Filesystem Type Size Used Avail Use% Mounted on
tmpfs tmpfs 505M 94M 412M 19% /lib/modules/2.6.27-7-generic/volatile
tmpfs tmpfs 505M 94M 412M 19% /lib/modules/2.6.27-7-generic/volatile
tmpfs tmpfs 505M 94M 412M 19% /lib/init/rw
varrun tmpfs 505M 104K 505M 1% /var/run
varlock tmpfs 505M 94M 412M 19% /var/lock
udev tmpfs 505M 2,8M 502M 1% /dev
tmpfs tmpfs 505M 148K 505M 1% /dev/shm
rootfs rootfs 505M 94M 412M 19% /
/dev/scd0 iso9660 699M 699M 0 100% /cdrom
/dev/loop0
squashfs 676M 676M 0 100% /rofs
tmpfs tmpfs 505M 28K 505M 1% /tmp
/dev/sdb6 vfat 102G 96G 6,0G 95% /media/ELSE
/dev/sdb1 ext2 9,2G 7,5G 1,3G 86% /media/WINPROG
takže asi místa dosti..
..
dpkg z recovery mode až na konec
..
..
Grub Error se nezobrazuje
..
..
starší Kernely nefungujou úplně stejným způsobem se stejnou hláškou
..
..
mám sem vložit ubuntu-logy ?
-
Samo se to těžko změnilo.
Aktuální stav označení oddílů atd. zjistíš pomocí sudo blkid -c /dev/null.
Změna a la sda → sdb by neměla vadit, protože máš v fstab vše označené pomocí UUID.
-
blkid -c /dev/null
/dev/sda1: UUID="6830D59030D5659A" TYPE="ntfs"
/dev/sda2: UUID="8C08E67008E658AA" LABEL="PIC_READ" TYPE="ntfs"
/dev/sdb1: LABEL="WINPROG" UUID="9e10d4d1-83da-439f-8971-877ba384b0e8" TYPE="ext2"
/dev/sdb5: TYPE="swap" UUID="86ea6461-e56c-426f-8877-1b86be69f640"
/dev/sdb6: LABEL="ELSE" UUID="8443-F21D" TYPE="vfat"
/dev/loop0: TYPE="squashfs"
root@ubuntu:/media/WINPROG#
-
zkouším pořád z toho návodu (live cd)..
sudo -s
chrootdir="/místo/kam/je/to/připojené" ##např.: chrootdir="/media/ubuntu"
mount -o bind /dev/ ${chrootdir}/dev
mount -t proc proc ${chrootdir}/proc
chroot ${chrootdir}
dpkg --configure -a
apt-get update
a teď to napsalo Warning
..
..
Staženo 749kB za 3s (202kB/s)
Čtu seznamy balíků... Hotovo
W: Duplicate sources.list entry http://archive.canonical.com karmic/partner Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_karmic_partner_binary-i386_Packages)
W: Pro nápravu těchto problémů můžete zkusit spustit apt-get update
taxem dal ještě jednouc "apt-get update"
a už to chybu nevypsalo
Cíl http://cz.archive.ubuntu.com karmic Release.gpg
Cíl http://cz.archive.ubuntu.com karmic/main Translation-cs
Cíl http://cz.archive.ubuntu.com karmic/restricted Translation-cs
Cíl http://cz.archive.ubuntu.com karmic/universe Translation-cs
Cíl http://cz.archive.ubuntu.com karmic/multiverse Translation-cs
Cíl http://cz.archive.ubuntu.com karmic-updates Release.gpg
Ign http://cz.archive.ubuntu.com karmic-updates/main Translation-cs
Ign http://cz.archive.ubuntu.com karmic-updates/restricted Translation-cs
Ign http://cz.archive.ubuntu.com karmic-updates/universe Translation-cs
Ign http://cz.archive.ubuntu.com karmic-updates/multiverse Translation-cs
Cíl http://cz.archive.ubuntu.com karmic Release
Cíl http://cz.archive.ubuntu.com karmic-updates Release
Cíl http://archive.canonical.com karmic Release.gpg
Ign http://archive.canonical.com karmic/partner Translation-cs
Cíl http://security.ubuntu.com karmic-security Release.gpg
Ign http://security.ubuntu.com karmic-security/main Translation-cs
Cíl http://cz.archive.ubuntu.com karmic/main Packages
Cíl http://cz.archive.ubuntu.com karmic/restricted Packages
Cíl http://cz.archive.ubuntu.com karmic/main Sources
Cíl http://cz.archive.ubuntu.com karmic/restricted Sources
Cíl http://cz.archive.ubuntu.com karmic/universe Packages
Cíl http://archive.canonical.com karmic Release
Cíl http://cz.archive.ubuntu.com karmic/universe Sources
Cíl http://cz.archive.ubuntu.com karmic/multiverse Packages
Ign http://security.ubuntu.com karmic-security/restricted Translation-cs
Ign http://security.ubuntu.com karmic-security/universe Translation-cs
Ign http://security.ubuntu.com karmic-security/multiverse Translation-cs
Cíl http://cz.archive.ubuntu.com karmic/multiverse Sources
Cíl http://security.ubuntu.com karmic-security Release
Cíl http://cz.archive.ubuntu.com karmic-updates/main Packages
Cíl http://cz.archive.ubuntu.com karmic-updates/restricted Packages
Cíl http://cz.archive.ubuntu.com karmic-updates/main Sources
Cíl http://cz.archive.ubuntu.com karmic-updates/restricted Sources
Cíl http://cz.archive.ubuntu.com karmic-updates/universe Packages
Cíl http://cz.archive.ubuntu.com karmic-updates/universe Sources
Cíl http://cz.archive.ubuntu.com karmic-updates/multiverse Packages
Cíl http://cz.archive.ubuntu.com karmic-updates/multiverse Sources
Cíl http://archive.canonical.com karmic/partner Packages
Cíl http://security.ubuntu.com karmic-security/main Packages
Cíl http://security.ubuntu.com karmic-security/restricted Packages
Cíl http://security.ubuntu.com karmic-security/main Sources
Cíl http://security.ubuntu.com karmic-security/restricted Sources
Cíl http://security.ubuntu.com karmic-security/universe Packages
Cíl http://security.ubuntu.com karmic-security/universe Sources
Cíl http://security.ubuntu.com karmic-security/multiverse Packages
Cíl http://security.ubuntu.com karmic-security/multiverse Sources
Čtu seznamy balíků... Hotovo
apt-get install -f
my vypsalo asi 30 balíků..
"Následující balíky byly nainstalovány automaticky a již nejsou potřeba:"
ale já myslím že některý ještě používám ikdyž nejsou v balikovacim systemu potřeba..
apt-get dist-upgrade
stahuje se asi 12 MB a pak to zkusim spustit..
-
a to byla možná chyba to stahovat :o..
Potřebuji stáhnout 12,7MB archivů.
Po této operaci bude na disku uvolněno 16,4kB.
Chcete pokračovat [Y/n]? y
Mám:1 http://cz.archive.ubuntu.com karmic-updates/main libkpathsea4 2007.dfsg.2-7ubuntu1.1 [122kB]
Mám:2 http://cz.archive.ubuntu.com karmic-updates/main texlive-base-bin 2007.dfsg.2-7ubuntu1.1 [2 368kB]
Mám:3 http://cz.archive.ubuntu.com karmic-updates/main dvipng 1.11-1ubuntu0.9.10.1 [77,6kB]
Mám:4 http://cz.archive.ubuntu.com karmic-updates/main libboost-date-time1.38.0 1.38.0-6ubuntu6.1 [38,9kB]
Mám:5 http://cz.archive.ubuntu.com karmic-updates/main libboost-system1.38.0 1.38.0-6ubuntu6.1 [25,2kB]
Mám:6 http://cz.archive.ubuntu.com karmic-updates/main libboost-filesystem1.38.0 1.38.0-6ubuntu6.1 [45,4kB]
Mám:7 http://cz.archive.ubuntu.com karmic-updates/main libboost-program-options1.38.0 1.38.0-6ubuntu6.1 [117kB]
Mám:8 http://cz.archive.ubuntu.com karmic-updates/main libboost-python1.38.0 1.38.0-6ubuntu6.1 [240kB]
Mám:9 http://cz.archive.ubuntu.com karmic-updates/main libboost-regex1.38.0 1.38.0-6ubuntu6.1 [341kB]
Mám:10 http://cz.archive.ubuntu.com karmic-updates/main libboost-signals1.38.0 1.38.0-6ubuntu6.1 [48,1kB]
Mám:11 http://cz.archive.ubuntu.com karmic-updates/main libboost-thread1.38.0 1.38.0-6ubuntu6.1 [48,2kB]
Mám:12 http://cz.archive.ubuntu.com karmic-updates/main texlive-base-bin-doc 2007.dfsg.2-7ubuntu1.1 [8 611kB]
Mám:13 http://cz.archive.ubuntu.com karmic-updates/main texlive-extra-utils 2007.dfsg.2-7ubuntu1.1 [605kB]
Staženo 12,7MB za 52s (242kB/s)
dpkg: neobnovitelná kritická chyba, přerušuji:
syntaktická chyba: neznámá skupina „mlocate“ v souboru statoverride
E: Sub-process /usr/bin/dpkg returned an error code (2)
co s tím? :)
-
vygooglil jsem
http://ubuntuforums.org/archive/index.php/t-186487.html
a myslím že poslední příspěvek by možná vyřešil můj problém
( ale nejsem si jistý a nechci to domr****dat víc než to je.. )
protože jsem udělal tu samou hloupost jako chlápek v prvním příspěvku,
když sem si hrál se skupinama..
viz můj problém
http://forum.ubuntu.cz/index.php/topic,46965.0.html
.. poradil by mi prosím někdo jestli by mi to mohlo pomoct nebo spíš ublížit
(obsah z http://ubuntuforums.org/archive/index.php/t-186487.html )
I had something smilar:# apt-get install ddclient
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl
The following NEW packages will be installed:
ddclient libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/343kB of archives.
After this operation, 1528kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
syntax error: unknown group `mlocate' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
I have fixed this problem.
The problem was related to the contents of /etc/group.
I had been running my server a very long time and needed to rebuild it. I wanted to keep the groups from my old server installation on the new one as I have some external drives attached that are ext2/3 that have permissions stored that are in groups.
I orinally saved /etc/group as /etc/group.default and then copied the group file from my old installation.
After reaching this problem and reading this forum post I noticed the error here states "unknown group `root`, where mine said `mlocate`. When did this:# cat /etc/group.default |grep mloc
mlocate : x : 106 :
(I had to put spaces in above to stop text being converted to a smiley)
it was clear that I needed to put this 'mlocate' group back onto the system.
To fix it I did:
`cat /etc/group`
selected the groups I wanted to preserve for the new installation and copied those lins to the clipboard (user created groups are usually >1000
`cp /etc/group.default /etc/group`
`nano /etc/group`
pasted the lines into the bottom of the file and saved the new /etc/group
ran apt-get again and it's working again
Hopefully that helps someone.
-studotwho.
-
Psal jsem body 1-4, ne ty další...
Píše to teď po restartu to samé?
-
ano po restartu to pořád píše to samé
Mount of root filesystem failed. -dlouhá série čísel nejspíš číslo disku-
A maintenance shell will now be started.
CONTROL-D will terminate this shell and restart.
-
Tak jsem to pořád nevyřešil.. Ono to potěší když nemožete pořádně na komp během svaťáku :)..
Takže mám dotaz.. je nějaký soubor ve kterém jsou uloženy všechny nainstalované balíky
abych mohl disk naformátovat, nainstalovat znovu, a přitom pořád věděl co všechno jsem tam měl?
-
Ano.
Buď uděláš chroot do Ubuntu a příkaz dpkg -l, nebo z LiveCD v souboru /var/lib/dpkg/status, seznam balíků třeba příkazemgrep -B2 "install ok installed" /media/kde_je_připojený_oddíl_s_ubuntu/var/lib/dpkg/status | awk '/^Package/ {print $2}' | sort -u
-
takže tu chybu "Mount of root filesystem failed." řešit nebudu..
zálohuju si data, naformátuju, a nahodím nově Ubuntu z liveCD, kery si právě stahuju..