Δεν ξεκινάει το Ubuntu 11.04

...εγκαταστάσεις, αναβαθμίσεις, διαχείριση partitions, boot-loader, κλπ

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

Κανόνες Δ. Συζήτησης
Στην ενότητα αυτή γράφουμε θέματα/ προβλήματα μόνο για το UBUNTU ή τα παράγωγά του.

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό Epirotes » 05 Ιαν 2012, 21:21

Αν δεν είναι το /dev/sda1/, θα είναι είτε το /dev/sda3/ ή το /dev/sda4/. Απλά θυμήσου ότι η τελευταία από τις τρεις εντολές του οδηγού για την επανεγκατάσταση του grub είναι διαφορετική από την 11.04 και μετά (είναι σε δικό της πλαίσιο ακριβώς κάτω από τις τρεις αυτές εντολές). Υπάρχει μια πιθανότητα να μην γίνει τίποτα, αν είναι το fstab μαντάρα, οπότε πρέπει να φτιάξουμε το fstab από την αρχή. Δώσε τις εντολές του οδηγού στο τερματικό (με LiveCD/DVD/USB) και αντέγραψε εδώ το αποτέλεσμα του τερματικού μέσα σε ετικέτες κώδικα (code tags). Αν δεν γίνει τίποτα, κατέβασε το bootinfoscript, τρέξ' το κι ανέβασε εδώ το αποτέλεσμα είτε μέσα σε ετικέτες κώδικα (code tags) είτε μέσα σε spoiler.
Οδηγίες για νέα μέλη ---- Οδηγοί - How to - Tutorials
1 Linux: Μέτριος ┃ Προγραμματισμός: Καθόλου ┃ Αγγλικά: Προχωρημένος
2 Ubuntu 16.04 precise 64bit (el_GR.UTF-8), Windows 10
3 Intel Core2 Duo CPU E8400 3.00GHz ‖ RAM 8 GB ‖ Gigabyte X48-DS4
4 Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6450] [1002:6779]
5 eth0: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
Άβαταρ μέλους
Epirotes
superbTUX
superbTUX
 
Δημοσιεύσεις: 3185
Εγγραφή: 05 Νοέμ 2008, 00:25
Τοποθεσία: Ιωάννινα, Ήπειρος
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό Learner » 06 Ιαν 2012, 01:16

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

Ναι. Αυτό αλλάζει κατά την εκκίνηση ε ; δεν είναι σταθερό.

Οπότε - επανεγκατάσταση του grub .... μάλλον.
About Me
NickTux@GitHub

Spoiler: show
1. Ubuntu 18.04 LTS
2. Intel Core i3 CPU M 380 2.53GHz ‖ RAM 6GB ‖ Acer Aspire 5733
3. Intel Integrated Graphics [8086:0046] {i915}
4. wlan0: Atheros Inc. AR9485 Wireless Network Adapter [168c:0032] (rev 01)
Άβαταρ μέλους
Learner
Συντονιστής
Συντονιστής
 
Δημοσιεύσεις: 9766
Εγγραφή: 08 Νοέμ 2010, 21:24
Τοποθεσία: Αθήνα
Launchpad: nicktux
IRC: NickTux
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό panoss » 09 Ιαν 2012, 10:10

Έδωσα τις εντολές:
Κώδικας: Επιλογή όλων

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.


Αλλά δεν βλέπω καμία διαφορά. Σαν να μην έκανα τίποτα.
1 Γνώσεις → Linux: Μέτριος ┃ Προγραμματισμός: Μέτριος ┃ Αγγλικά: Μέτριος
2 Λειτουργικό → Ubuntu 11.04 natty 64-bit (el_GR.UTF-8)
3 Προδιαγραφές → 1x AMD Athlon 64 X2 Dual Core Processor 4200+ ‖ RAM 870 MiB ‖ ASUS INC. M2N-MX SE Plus
4 Κάρτες γραφικών: nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
5 Δίκτυα: eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)
panoss
babeTUX
babeTUX
 
Δημοσιεύσεις: 54
Εγγραφή: 22 Νοέμ 2010, 14:22
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό panoss » 09 Ιαν 2012, 10:42

Έτρεξα το bootinfoscript κι εδώ είναι το RESULTS.txt
Κώδικας: Επιλογή όλων

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
1 Γνώσεις → Linux: Μέτριος ┃ Προγραμματισμός: Μέτριος ┃ Αγγλικά: Μέτριος
2 Λειτουργικό → Ubuntu 11.04 natty 64-bit (el_GR.UTF-8)
3 Προδιαγραφές → 1x AMD Athlon 64 X2 Dual Core Processor 4200+ ‖ RAM 870 MiB ‖ ASUS INC. M2N-MX SE Plus
4 Κάρτες γραφικών: nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
5 Δίκτυα: eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)
panoss
babeTUX
babeTUX
 
Δημοσιεύσεις: 54
Εγγραφή: 22 Νοέμ 2010, 14:22
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό konnn » 09 Ιαν 2012, 10:53

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.


Αλλά δεν βλέπω καμία διαφορά. Σαν να μην έκανα τίποτα.

Κάνε τα για το sda4.
1 Linux: Μέτριος ┃ Προγραμματισμός: Μέτριος ┃ Αγγλικά: Προχωρημένος
2 Desktop : Ubuntu 16.04 64bit
a Intel Core i3 CPU 530 2.93GHz ‖ RAM 3824 MiB ‖ Intel DH55HC -
b nVidia Device [10de:1040] (rev a1)
c eth0: Intel 82578DC Gigabit Network Connection
3 Notebook : Ubuntu 16.04 64 bit
a Intel Core i3-2365M CPU @ 1.40GHz ‖ RAM 3854 MiB ‖ LENOVO 20197
b Intel 2nd Generation Core Processor Family Integrated Graphics Controller
c 5 wlan0: Intel Centrino Wireless-N 2230 ⋮ eth0: Realtek RTL8101E/RTL8102E

Αυτόματη υπογραφή.
Άβαταρ μέλους
konnn
Συντονιστής
Συντονιστής
 
Δημοσιεύσεις: 3568
Εγγραφή: 12 Ιούλ 2010, 17:54
Τοποθεσία: Καλαμάτα
Launchpad: konnn
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό fkol k4 » 09 Ιαν 2012, 11:13

panoss έγραψε:Παιδιά έχω πρόβλημα με το pc μου, δεν ξεκινάει το ubuntu.
Εμφανίζεται ο grub όπου επιλέγω ποιο λειτουργικό θέλω.
Επιλέγω το ubuntu, μου λέει ότι ο δίσκος χρειάζεται έλεγχο (με το fsck δηλαδή), το αφήνω να κάνει έλεγχο, τελειώνει κάνει reboot και συνέχεια το ίδιο! Και με 'λειτουργία ανάκτησης' (recovery mode) το ίδιο!
Υποψιάζομαι μια αλλαγή δίσκου που 'χα κάνει προχτές. Έβγαλα τον δικό μου και έβαλα άλλον. Μετά, φυσικά, ξανάβαλα τον πρώτο (και έβγαλα τον δεύτερο).
Στον ίδιο δίσκο έχω επίσης:
puppy linux, στο ίδιο partition με το ubuntu
puppy linux, σε άλλο partition
Αυτά δουλεύουν κανονικά.

Πάντως αυτή η περιγραφή δεν μου φαίνεται για πρόβλημα του grub. Βέβαια μπορεί να κάνω και λάθος.
Σου προτείνω να κάνεις μια προσπάθεια για διαφορετική προσέγγιση.
  • Πρώτα θα πρέπει να βρεις σε ποιο διαμέρισμα είναι εγκαταστημένος ο ριζικός φάκελος του Ubuntu. Αυτό μπορείς να το κάνεις με ένα Live CD. Ένας τρόπος είναι να πλοηγηθείς στο /etc/apt/sources.list κάθε διαμερίσματος και να δεις ποιο από αυτά είναι το Ubuntu.
  • Αποπροσάρτησε όλα τα διαμερίσματα και κάνε το fsck που σου ζητείται από το Live CD.
  • Προσάρτησε ξανά το διαμέρισμα του Ubuntu με την εντολή
    Κώδικας: Επιλογή όλων
    sudo mount /dev/sda1 /mnt
    Εδώ, υποθέτω πως έχεις διαπιστώσει πως το διαμέρισμα του Ubuntu είναι το /dev/sda1 , αλλά θα πρέπει να το επιβεβαιώσεις.
  • Δώσε την εντολή
    Κώδικας: Επιλογή όλων
    gksu gedit /mnt/etc/fstab
    για να σου εμφανιστεί το αρχείο των προσαρτήσεων.
    Θα βρεις την εγγραφή του « / » η οποία θα είναι της μορφής
    Κώδικας: Επιλογή όλων
    # / was on /dev/sdb3 during installation
    UUID=8d29a1a9-1967-4cf4-8594-3ecebd955f3d / ext4 errors=remount-ro 0 1

    Σε αυτό, άλλαξε τον άσσο στο τέλος της 2ης δεύτερης γραμμής με μηδέν ώστε να ακυρώσεις προσωρινά τον έλεγχο του διαμερίσματος.

    Προσοχή, το gedit στις προτιμήσεις έχει την επιλογή να δημιουργεί αντίγραφο του αρχείου που επεξεργαζόμαστε πριν το σώσιμο. Πριν σώσεις τις αλλαγές, βεβαιώσου ότι το έχεις ενεργοποιήσει

  • Κάνε επανεκκίνηση και πες μας τα αποτελέσματα.
Γνώσεις: Linux: ★★★☆☆ Προγραμματισμός: ★☆☆☆☆ Αγγλικά: ★★★★★
Η υπογραφή μου
Οδηγίες για αρχάριους στο Ubuntu (12.04 LTS)Οδηγοί του forum
Άβαταρ μέλους
fkol k4
antiwinTUX
antiwinTUX
 
Δημοσιεύσεις: 4829
Εγγραφή: 28 Φεβ 2011, 22:56
Τοποθεσία: Αθήνα
Launchpad: fkol-k4
IRC: fkol_k4
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό Epirotes » 09 Ιαν 2012, 15:08

Λοιπόν, από το αποτέλεσμα του bootinfoscript βλέπουμε ότι το Ubuntu είναι στο sda1 και το puppy linux στο sda4. Βλέπουμε επίσης ότι στο sda1 υπάρχει τόσο ο grub legacy (υποθέτω λόγω puppy linux) όσο και ο grub2. Οι απορίες μου είναι:
1. Ποτέ ακριβώς δημιουργήθηκε το πρόβλημα στην εκκίνηση; Έχει σχέση με τις εγκαταστάσεις puppy linux που έκανες;
2. Πως γίνεται να υπάρχουν δύο λειτουργικά στο ίδιο διαμέρισμα; Και ποιος ο λόγος να έχεις puppy linux και στο sda1 αφού το έχεις ήδη στο sda4;
3. Πως ακριβώς εγκατέστησες το puppy linux; Ακολούθησες κάποιον οδηγό;
Οδηγίες για νέα μέλη ---- Οδηγοί - How to - Tutorials
1 Linux: Μέτριος ┃ Προγραμματισμός: Καθόλου ┃ Αγγλικά: Προχωρημένος
2 Ubuntu 16.04 precise 64bit (el_GR.UTF-8), Windows 10
3 Intel Core2 Duo CPU E8400 3.00GHz ‖ RAM 8 GB ‖ Gigabyte X48-DS4
4 Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6450] [1002:6779]
5 eth0: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
Άβαταρ μέλους
Epirotes
superbTUX
superbTUX
 
Δημοσιεύσεις: 3185
Εγγραφή: 05 Νοέμ 2008, 00:25
Τοποθεσία: Ιωάννινα, Ήπειρος
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό the_eye » 09 Ιαν 2012, 18:39

Για δες και αυτό
viewtopic.php?f=9&t=19749
Όσο λιγότερο κλειστό λογισμικό έχεις, τόσα λιγότερα προβλήματα.
1 Γνώσεις ⇛ Linux: Καλό ┃ Προγραμματισμός: Ναι PHP, MySQL ┃ Αγγλικά: Καλά
2 Ubuntu 24.04.2
3 Intel Core i5-6500 CPU @ 3.20GHz ‖ RAM 7836 MiB ‖ Gigabyte B150M-HD3 DDR3-CF - Gigabyte B150M-HD3 DDR3
4 Intel HD Graphics 530 [8086:1912] {i915}
5 enp1s0: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Άβαταρ μέλους
the_eye
Διαχειριστής
Διαχειριστής
 
Δημοσιεύσεις: 11724
Εγγραφή: 16 Μαρ 2010, 17:19
Launchpad: ntoulasd
IRC: the_eye_
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό panoss » 09 Ιαν 2012, 18:44

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.
1 Γνώσεις → Linux: Μέτριος ┃ Προγραμματισμός: Μέτριος ┃ Αγγλικά: Μέτριος
2 Λειτουργικό → Ubuntu 11.04 natty 64-bit (el_GR.UTF-8)
3 Προδιαγραφές → 1x AMD Athlon 64 X2 Dual Core Processor 4200+ ‖ RAM 870 MiB ‖ ASUS INC. M2N-MX SE Plus
4 Κάρτες γραφικών: nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2)
5 Δίκτυα: eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)
panoss
babeTUX
babeTUX
 
Δημοσιεύσεις: 54
Εγγραφή: 22 Νοέμ 2010, 14:22
Εκτύπωση

Re: Δεν ξεκινάει το Ubuntu 11.04

Δημοσίευσηαπό medigeek » 09 Ιαν 2012, 22:28

Δοκίμασε να φτιάξεις ένα live cd/usb και να κάνεις boot με το rescatux:
http://www.supergrubdisk.org/rescatux/
http://download.berlios.de/rescatux/res ... 0.30b3.iso
Κύπριος; Κόπιασε στο ubuntu-cy! ┃ Launchpad Debian Github
Οδηγός για νεοεισερχόμενους -- Αρχικές οδηγίες για αρχάριους χρήστες του Ubuntu

1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό
2 Ubuntu 12.10 quantal 3.5.0-21-generic 64bit (en_US.UTF-8, GNOME cinnamon2d), Ubuntu 3.5.0-19-generic, Windows 7
3 Intel Core2 Duo CPU E6550 2.33GHz ‖ RAM 5970 MiB ‖ MSI MS-7235
4 nVidia G73 [GeForce 7300 GT] [10de:0393] {nvidia}
5 eth0: Realtek RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10)
Άβαταρ μέλους
medigeek
Freedom
Freedom
 
Δημοσιεύσεις: 5023
Εγγραφή: 24 Μάιος 2008, 14:49
Τοποθεσία: Σερβία/Κύπρος
Launchpad: medigeek
IRC: savvas
Εκτύπωση

ΠροηγούμενηΕπόμενο

  • ΣΧΕΤΙΚΑ ΘΕΜΑΤΑ
    ΑΠΑΝΤΗΣΕΙΣ
    ΠΡΟΒΟΛΕΣ
    ΣΥΓΓΡΑΦΕΑΣ

Επιστροφή στο Λειτουργικό Σύστημα