Αναβάθμιση σε 8.10, χάθηκαν από τον grub τα ΧΡ [Επιλύθηκε]

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

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

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

Αναβάθμιση σε 8.10, χάθηκαν από τον grub τα ΧΡ [Επιλύθηκε]

Δημοσίευσηαπό TuX » 01 Νοέμ 2008, 06:02

Καλησπέρα,
στον υπολογιστή μου έχω 2 σκληρούς στον έναν βρίσκονται τα windows xp και στον άλλον ubuntu 8.10 ( πλεον ). Στην 8.04 όλα πήγαιναν καλά, μετά την αναβάθμιση δεν εμφανίζεται στο grub επιλογή για boot σε windows xp ούτε καν το partition στο fstab :/

any ideas?

ορίστε και το fstab

# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=607ed2a2-848c-4e86-aad1-8c6aa4fe5bc0 / ext3 relatime,errors=remount-ro 0 1
# Entry for /dev/sda6 :
UUID=9bd6c150-975e-4e30-b7e4-ecd45b2c5c8e none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

Ευχαριστώ
Τελευταία επεξεργασία από TuX και 04 Νοέμ 2008, 01:19, έχει επεξεργασθεί 1 φορά/ες συνολικά
Άβαταρ μέλους
TuX
babeTUX
babeTUX
 
Δημοσιεύσεις: 3
Εγγραφή: 01 Νοέμ 2008, 05:57
Εκτύπωση

Re: Αναβάθμιση 8.04 σε 8.10

Δημοσίευσηαπό linuxman » 01 Νοέμ 2008, 09:57

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

1. cat /boot/grub/menu.lst
2. sudo fdisk -l

Στην εγκατάσταση σε ρώτησε προφανώς εάν να βάλει το νέο αρχείο ρυθμίσεων και εσύ απάντησες ναι , και λογικά θα το έχει αλλάξει .
Οδηγίες προς Νεοεισερχόμενους
1 Γνώσεις Linux: Πολύ καλό ┃ Προγραμματισμού: Ικανοποιητικό ┃ Αγγλικών: Ικανοποιητικό
2 Linux Mint 17.1 Rebecca 3.13.0-37-generic 64bit (el_GR.UTF-8, X-Cinnamon cinnamon)
3 Intel Core i5-2310M CPU @ 2.10GHz ‖ RAM 3866 MiB ‖ Dell Inc. 0D7C51 - Dell Inc. Dell System Vostro 3750
4 Intel 2nd Generation Core Processor Family Integrated Graphics [8086:0116] {i915}
5 wlan0: Intel Centrino Wireless-N 1030 [Rainbow Peak] [8086:008a] (rev 34) ⋮ eth0: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
http://www.greeklug.gr
Άβαταρ μέλους
linuxman
Επίτιμο μέλος
Επίτιμο μέλος
 
Δημοσιεύσεις: 10378
Εγγραφή: 10 Μάιος 2008, 20:41
Τοποθεσία: Thessaloniki / Macedonia / Greece
Εκτύπωση

Re: Αναβάθμιση 8.04 σε 8.10

Δημοσίευσηαπό TuX » 01 Νοέμ 2008, 15:11

Ναι το έχει αλλάξει. Το θέμα είναι οτι όταν προσθέτω εγώ επιλογή για boot στα windows (hd1,0) κολλάει στο please wait... ορίστε και αυτά που ζήτησες.
tux@Dual-Kafald:~$ cat /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=607ed2a2-848c-4e86-aad1-8c6aa4fe5bc0 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## 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 Windows Xp Prof
root (hd1,0)
makeactive
chainloader +1

title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=607ed2a2-848c-4e86-aad1-8c6aa4fe5bc0 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=607ed2a2-848c-4e86-aad1-8c6aa4fe5bc0 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 8.10, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

/dev/sdb1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sdb2 5100 36481 252075915 f W95 Ext'd (LBA)
/dev/sdb5 5100 12748 61440561 7 HPFS/NTFS
/dev/sdb6 12749 36481 190635291 7 HPFS/NTFS

στον φάκελο /dev/ υπάρχουν και τα sda1 sda2 sda5 sda6
(δοκίμασα να κάνω boot και σαν hd0,0 , hd1,0 , hd1,1 τιποτα δεν έπεξε)
Άβαταρ μέλους
TuX
babeTUX
babeTUX
 
Δημοσιεύσεις: 3
Εγγραφή: 01 Νοέμ 2008, 05:57
Εκτύπωση

Re: Αναβάθμιση 8.04 σε 8.10

Δημοσίευσηαπό logari81 » 01 Νοέμ 2008, 16:29

δοκιμασε αυτο:
έγραψε:title Windows XP
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
makeactive


και δες εδώ:
viewtopic.php?f=4&t=1306
http://opensourceecology.org/


Λειτουργικό: Ubuntu 10.04 lucid 64-bitΠροδιαγραφές: 4x Intel Core i5 CPU M 450 2.40GHz ‖ RAM 3696 MiB ‖ Lenovo KL3 - LENOVO IdeaPad Y560
Κάρτα γραφικών: ATI Device [1002:68c0]Ασύρματο: wlan0: Atheros Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)
logari81
Επίτιμο μέλος
Επίτιμο μέλος
 
Δημοσιεύσεις: 6074
Εγγραφή: 14 Μάιος 2008, 10:40
Εκτύπωση

Re: Αναβάθμιση 8.04 σε 8.10

Δημοσίευσηαπό TuX » 01 Νοέμ 2008, 16:38

Ευχαριστώ να 'σαι καλά. :)
Ευχαριστώ να 'σαι καλά. :)

Τελικά το πρόβλημα μου λύθηκε κάνοντας τροποποίηση στο menu.lst και προθέτοντας το

Κώδικας: Επιλογή όλων
title Windows XP
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
makeactive


Το grub δημιουργήθηκε για να μας ταλαιπωρεί :)
Άβαταρ μέλους
TuX
babeTUX
babeTUX
 
Δημοσιεύσεις: 3
Εγγραφή: 01 Νοέμ 2008, 05:57
Εκτύπωση


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

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