Συντονιστής: adem1

konnn έγραψε:Το fstab από livecd με την παραπάνω εντολή δεν είναι αυτό που θέλουμε, δυστηχώς .Αυτό που φαίνεται είναι πως δεν υπάρχει διαμέρισμα με σημαία εκκίνησης.

1.ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c6893
Device Boot Start End Blocks Id System
/dev/sda1 1 24311 195276768+ 83 Linux
/dev/sda2 30073 30401 2642662 5 Extended
/dev/sda3 26224 30072 30916136+ 83 Linux
/dev/sda4 24311 26223 15358976 83 Linux
/dev/sda5 30073 30401 2642661 82 Linux swap / Solaris
Partition table entries are not in disk order
2.sudo mkdir /media/sda1
3.sudo mount /dev/sda1 /media/sda1
4. sudo grub-install --boot-directory=/media/sda1/boot /dev/sda
Installation finished. No error reported.

Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub on this drive.
sda1: __________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Lucid Linux Linux 2.6.33.2
[i686 arch]
Boot files: /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab
/boot/grub/core.img
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: ext2
Boot sector type: -
Boot sector info:
Operating System: Lucid Linux Linux 2.6.33.2
[i686 arch]
Boot files: /etc/fstab
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 63 390,553,599 390,553,537 83 Linux
/dev/sda2 483,106,741 488,392,064 5,285,324 5 Extended
/dev/sda5 483,106,743 488,392,064 5,285,322 82 Linux swap / Solaris
/dev/sda3 421,272,495 483,104,767 61,832,273 83 Linux
/dev/sda4 390,553,600 421,271,551 30,717,952 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ext3 os
/dev/sda3 1151bf26-7af6-43c2-9331-42b6a4e4e467 ext3 files
/dev/sda4 8bc4bb13-2d41-4525-94aa-e53e5abe5d79 ext2 puppy
/dev/sda5 c6b42338-c502-43ca-83f9-06501094f00c swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr1 /cdrom iso9660 (ro,noatime)
=========================== sda1/boot/grub/menu.lst: ===========================
--------------------------------------------------------------------------------
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-legacy-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
## 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 11.04, kernel 2.6.38-12-generic
uuid 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/vmlinuz-2.6.38-12-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro quiet splash
initrd /boot/initrd.img-2.6.38-12-generic
title Ubuntu 11.04, kernel 2.6.38-12-generic
kernel /boot/vmlinuz-2.6.38-12-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.38-12-generic
quiet
title Ubuntu 11.04, kernel 2.6.38-12-generic (recovery mode)
uuid 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/vmlinuz-2.6.38-12-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single
initrd /boot/initrd.img-2.6.38-12-generic
title Ubuntu 11.04, kernel 2.6.38-11-generic
uuid 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/vmlinuz-2.6.38-11-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro quiet splash
initrd /boot/initrd.img-2.6.38-11-generic
title Ubuntu 11.04, kernel 2.6.38-11-generic (recovery mode)
uuid 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/vmlinuz-2.6.38-11-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single
initrd /boot/initrd.img-2.6.38-11-generic
title Ubuntu 11.04, kernel 2.6.38-10-generic
uuid 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/vmlinuz-2.6.38-10-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro quiet splash
initrd /boot/initrd.img-2.6.38-10-generic
title Ubuntu 11.04, kernel 2.6.38-10-generic (recovery mode)
uuid 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/vmlinuz-2.6.38-10-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single
initrd /boot/initrd.img-2.6.38-10-generic
title Ubuntu 11.04, kernel 2.6.38-8-generic
uuid 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/vmlinuz-2.6.38-8-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro quiet splash
initrd /boot/initrd.img-2.6.38-8-generic
title Ubuntu 11.04, kernel 2.6.38-8-generic (recovery mode)
uuid 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/vmlinuz-2.6.38-8-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single
initrd /boot/initrd.img-2.6.38-8-generic
title Chainload into GRUB 2
root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/grub/core.img
title Ubuntu 11.04, memtest86+
uuid 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
kernel /boot/memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
title Puppy Linux 525 full install in sda4
root (hd0,3)
kernel /boot/vmlinuz root=/dev/sda4 pmedia=atahd
--------------------------------------------------------------------------------
=========================== sda1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
set have_grubenv=true
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
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
set locale_dir=($root)/boot/grub/locale
set lang=el_GR
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, με Linux 2.6.38-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux /boot/vmlinuz-2.6.38-12-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro vga=769 quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-12-generic
}
menuentry 'Ubuntu, με Linux 2.6.38-12-generic (λειτουργία ανάκτησης)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
echo 'Loading Linux 2.6.38-12-generic ...'
linux /boot/vmlinuz-2.6.38-12-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single vga=769
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-12-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, με Linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux /boot/vmlinuz-2.6.38-11-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro vga=769 quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-11-generic
}
menuentry 'Ubuntu, με Linux 2.6.38-11-generic (λειτουργία ανάκτησης)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
echo 'Loading Linux 2.6.38-11-generic ...'
linux /boot/vmlinuz-2.6.38-11-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single vga=769
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-11-generic
}
menuentry 'Ubuntu, με Linux 2.6.38-10-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux /boot/vmlinuz-2.6.38-10-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro vga=769 quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-10-generic
}
menuentry 'Ubuntu, με Linux 2.6.38-10-generic (λειτουργία ανάκτησης)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
echo 'Loading Linux 2.6.38-10-generic ...'
linux /boot/vmlinuz-2.6.38-10-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single vga=769
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-10-generic
}
menuentry 'Ubuntu, με Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro vga=769 quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, με Linux 2.6.38-8-generic (λειτουργία ανάκτησης)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd ro single vga=769
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/40_custom ###
exec tail -n +3 $0
# 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.
### BEGIN /etc/grub.d/40_custom ###
menuentry "puppy 5.28 in sda1" {
set root='(hd0,msdos1)'
linux /puppy528/vmlinuz
initrd /puppy528/initrd.gz
}
menuentry "puppy Linux 528 full install in sda4" {
set root='(hd0,msdos4)'
linux /boot/vmlinuz root=/dev/sda4 pmedia=atahd
}
EOF
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda1/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=7f039167-f1d7-4c2b-bea6-e1cf3b72f0bd / ext3 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=c6b42338-c502-43ca-83f9-06501094f00c none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda3 /media/files_ auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
166.202479839 = 178.458553856 boot/grub/core.img 2
166.195628643 = 178.451197440 boot/grub/grub.cfg 1
166.241229534 = 178.500161024 boot/grub/menu.lst 1
166.179004192 = 178.433347072 boot/initrd.img-2.6.38-10-generic 7
166.195617199 = 178.451185152 boot/initrd.img-2.6.38-11-generic 8
166.241199017 = 178.500128256 boot/initrd.img-2.6.38-12-generic 14
166.231574535 = 178.489794048 boot/initrd.img-2.6.38-8-generic 10
166.152820110 = 178.405232128 boot/vmlinuz-2.6.38-10-generic 4
166.190764904 = 178.445975040 boot/vmlinuz-2.6.38-11-generic 3
166.137160778 = 178.388418048 boot/vmlinuz-2.6.38-12-generic 4
166.219180584 = 178.476486144 boot/vmlinuz-2.6.38-8-generic 4
166.195617199 = 178.451185152 initrd.img 8
166.241199017 = 178.500128256 initrd.img_ 14
166.190764904 = 178.445975040 vmlinuz 3
166.137160778 = 178.388418048 vmlinuz_ 4
=============================== sda4/etc/fstab: ================================
--------------------------------------------------------------------------------
/dev/sda4 / ext2 defaults 0 1
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
none /dev/pts devpts gid=2,mode=620 0 0
/dev/fd0 /mnt/floppy auto noauto,rw 0 0
--------------------------------------------------------------------------------
=================== sda4: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
191.912239075 = 206.064197632 boot/vmlinuz 2
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda2
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000001b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 fe |................|
000001c0 ff ff 82 fe ff ff 02 00 00 00 ca a5 50 00 00 00 |............P...|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=============================== StdErr Messages: ===============================
unlzma: Decoder error

panoss έγραψε:Έδωσα τις εντολές:
- Κώδικας: Επιλογή όλων
1.ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c6893
Device Boot Start End Blocks Id System
/dev/sda1 1 24311 195276768+ 83 Linux
/dev/sda2 30073 30401 2642662 5 Extended
/dev/sda3 26224 30072 30916136+ 83 Linux
/dev/sda4 24311 26223 15358976 83 Linux
/dev/sda5 30073 30401 2642661 82 Linux swap / Solaris
Partition table entries are not in disk order
- Κώδικας: Επιλογή όλων
2.sudo mkdir /media/sda1
- Κώδικας: Επιλογή όλων
3.sudo mount /dev/sda1 /media/sda1
- Κώδικας: Επιλογή όλων
4. sudo grub-install --boot-directory=/media/sda1/boot /dev/sda
Installation finished. No error reported.
Αλλά δεν βλέπω καμία διαφορά. Σαν να μην έκανα τίποτα.

panoss έγραψε:Παιδιά έχω πρόβλημα με το pc μου, δεν ξεκινάει το ubuntu.
Εμφανίζεται ο grub όπου επιλέγω ποιο λειτουργικό θέλω.
Επιλέγω το ubuntu, μου λέει ότι ο δίσκος χρειάζεται έλεγχο (με το fsck δηλαδή), το αφήνω να κάνει έλεγχο, τελειώνει κάνει reboot και συνέχεια το ίδιο! Και με 'λειτουργία ανάκτησης' (recovery mode) το ίδιο!
Υποψιάζομαι μια αλλαγή δίσκου που 'χα κάνει προχτές. Έβγαλα τον δικό μου και έβαλα άλλον. Μετά, φυσικά, ξανάβαλα τον πρώτο (και έβγαλα τον δεύτερο).
Στον ίδιο δίσκο έχω επίσης:
puppy linux, στο ίδιο partition με το ubuntu
puppy linux, σε άλλο partition
Αυτά δουλεύουν κανονικά.
sudo mount /dev/sda1 /mntgksu gedit /mnt/etc/fstab# / was on /dev/sdb3 during installation
UUID=8d29a1a9-1967-4cf4-8594-3ecebd955f3d / ext4 errors=remount-ro 0 1Προσοχή, το gedit στις προτιμήσεις έχει την επιλογή να δημιουργεί αντίγραφο του αρχείου που επεξεργαζόμαστε πριν το σώσιμο. Πριν σώσεις τις αλλαγές, βεβαιώσου ότι το έχεις ενεργοποιήσει



Epirotes έγραψε:Λοιπόν, από το αποτέλεσμα του bootinfoscript βλέπουμε ότι το Ubuntu είναι στο sda1 και το puppy linux στο sda4. Βλέπουμε επίσης ότι στο sda1 υπάρχει τόσο ο grub legacy (υποθέτω λόγω puppy linux) όσο και ο grub2. Οι απορίες μου είναι:
1. Ποτέ ακριβώς δημιουργήθηκε το πρόβλημα στην εκκίνηση; Έχει σχέση με τις εγκαταστάσεις puppy linux που έκανες;
Όχι δεν έχει σχέση με την εγκατάσταση του puppy. Λειτουργούσε μια χαρά, τόσο καιρό.[
2. Πως γίνεται να υπάρχουν δύο λειτουργικά στο ίδιο διαμέρισμα; Και ποιος ο λόγος να έχεις puppy linux και στο sda1 αφού το έχεις ήδη στο sda4;
Το puppy μπορείς να το βάλεις (με frugal installation, έτσι λέγεται) στην υπάρχουσα εγκατάσταση λειτουργικού που έχεις, στο ίδιο διαμέρισμα, χωρίς πρόβλημα. Το 'χα τόσο καιρό, κανένα πρόβλημα.
3. Πως ακριβώς εγκατέστησες το puppy linux; Ακολούθησες κάποιον οδηγό;
Έχει αυτόματη εγκατάσταση το puppy, αυτήν ακολούθησα.
Η ουσία πάντως είναι ότι το πρόβλημα δεν το δημιούργησε το puppy.

