Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: GRUB po odstránení jednej distribúcie [vyřešeno]  (Přečteno 1415 krát)

Lovap

  • Návštěvník
  • Příspěvků: 63
GRUB po odstránení jednej distribúcie [vyřešeno]
« kdy: 11 Října 2009, 13:05:47 »
Mám taký (budúci) problém: ak zmažem jednu distribúciu, cez ktorej GRUB sa vlastne v súčasnosti dostávam do Ubuntu, ostane mi pôvodný Ubuntu GRUB?
Vysvetlím: mám na disku Win Vista, Mandrivu, Ubuntu a PCLOS - inštalované v tomto poradí. Teda momentálne sa využíva PCLOS GRUB. Keď zapnem PC hodí ma to do PCLOS GRUB-u, kte si vyberiem Ubuntu a to ma hodí do Ubunťáckeho GRUB-u (asi, lebo pokiaľ si pamätám, vyzerá to tak ako pred nainštalovaním PCLOS-u, len je to podfarbené na modro - pôvodný Ubuntu GRUB bol normálny textový).
Chcel by som PCLOS zmazať z disku a teraz neviem, či sa dostanem do Ubuntu - či mi zostane ten pôvodný Ubuntu GRUB, alebo nie.
« Poslední změna: 11 Října 2009, 23:52:39 od kiklhorn »

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: GRUB po odstránení jednej distribúcie
« Odpověď #1 kdy: 11 Října 2009, 13:23:03 »
Chcel by som PCLOS zmazať z disku a teraz neviem, či sa dostanem do Ubuntu - či mi zostane ten pôvodný Ubuntu GRUB, alebo nie.
Asi ne; budeš zřejmě muset obnovit Grub.

Pokud to chceš vědět najisto, pošli výstup z boot_info_script.
http://www.openstreetmap.org - mapy celého světa "wiki style"

Lovap

  • Návštěvník
  • Příspěvků: 63
Re: GRUB po odstránení jednej distribúcie
« Odpověď #2 kdy: 11 Října 2009, 13:30:07 »
Výstup z toho skriptu:

Kód: [Vybrat]
============================= Boot Info Summary: ==============================

 => Grub0.97 is installed in the MBR of /dev/sda and looks on the same drive
    in partition #10 for /boot/grub/stage2 and /boot/grub/menu.lst.
 => Grub0.97 is installed in the MBR of /dev/sdb and looks on the same drive
    in partition #5 for /boot/grub/stage2 and /boot/grub/menu.lst.

sda1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows Vista
    Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda2: _________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Mandriva Linux release 2009.1
                       (Official) for i586 Kernel 2.6.29.6-desktop-2mnb on a
                       Dual-processor i686 /
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

sda6: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda7: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   

sda8: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 9.04
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

sda9: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   

sda10: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  PCLinuxOS release 2009
                       (PCLinuxOS) for i586 Kernel 2.6.26.8.tex3 on a
                       Dual-processor i686 /
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

sda11: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   

sdb1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:   

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 250,0 GB, 250 059 350 016 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 30 401, celkem 488 397 168 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Identifikátor disku: 0xe66c0457

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *          2,048   163,842,047   163,840,000   7 HPFS/NTFS
/dev/sda2         163,846,935   367,759,979   203,913,045   5 Extended
/dev/sda5         163,846,998   205,599,869    41,752,872  83 Linux
/dev/sda6         205,599,933   213,776,954     8,177,022  82 Linux swap / Solaris
/dev/sda7         213,777,018   257,939,639    44,162,622  83 Linux
/dev/sda8         257,939,703   285,442,919    27,503,217  83 Linux
/dev/sda9         285,442,983   314,745,479    29,302,497  83 Linux
/dev/sda10        314,745,543   339,405,254    24,659,712  83 Linux
/dev/sda11        339,405,318   367,759,979    28,354,662  83 Linux


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 500,1 GB, 500 107 862 016 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 60 801, celkem 976 773 168 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Identifikátor disku: 0x77cb1f10

Partition  Boot         Start           End          Size  Id System

/dev/sdb1                  63   976,768,064   976,768,002   7 HPFS/NTFS


blkid -c /dev/null: ____________________________________________________________

/dev/sda1: UUID="AC943C06943BD196" TYPE="ntfs"
/dev/sda5: UUID="47bff874-e92a-493d-b571-2bd28ecfe5f0" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID="36a5658b-c078-4400-b985-29c40eb8e40d" TYPE="swap"
/dev/sda7: UUID="6f3ac90a-3534-4bec-8956-35a00d9f0fc2" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda8: UUID="651e88e8-4c84-4eaa-b34e-d091404f5c5d" TYPE="ext3"
/dev/sda9: UUID="e5b02fc9-d655-438c-bb40-28dc79682405" TYPE="ext3"
/dev/sda10: UUID="b896a7bf-30f0-461c-99d5-d4c6a7d9f912" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda11: UUID="207f58d8-f1a6-463b-84b1-f6d163ad4f33" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb1: UUID="A6942CB1942C8641" LABEL="New Volume" TYPE="ntfs"

=============================== "mount" output: ===============================

/dev/sda8 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-15-generic/volatile type tmpfs (rw,mode=755)
/dev/sda9 on /home type ext3 (rw,relatime)
/dev/sda1 on /win_c type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb1 on /win_d type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/pavol/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=pavol)


=========================== sda5/boot/grub/menu.lst: ===========================

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 5

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

title linux-nonfb
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d
initrd (hd0,4)/boot/initrd.img

title failsafe
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 failsafe
initrd (hd0,4)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

title desktop 2.6.29.3-1mnb
kernel (hd0,4)/boot/vmlinuz-2.6.29.3-desktop-1mnb BOOT_IMAGE=desktop_2.6.29.3-1mnb root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d splash=silent vga=788
initrd (hd0,4)/boot/initrd-2.6.29.3-desktop-1mnb.img

title desktop 2.6.29.6-1mnb
kernel (hd0,4)/boot/vmlinuz-2.6.29.6-desktop-1mnb BOOT_IMAGE=desktop_2.6.29.6-1mnb root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d splash=silent vga=788
initrd (hd0,4)/boot/initrd-2.6.29.6-desktop-1mnb.img

title desktop 2.6.29.6-2mnb
kernel (hd0,4)/boot/vmlinuz-2.6.29.6-desktop-2mnb BOOT_IMAGE=desktop_2.6.29.6-2mnb root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d splash=silent vga=788
initrd (hd0,4)/boot/initrd-2.6.29.6-desktop-2mnb.img

=============================== sda5/etc/fstab: ===============================

# Entry for /dev/sda5 :
UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 / ext3 relatime 1 1
# Entry for /dev/sda7 :
UUID=6f3ac90a-3534-4bec-8956-35a00d9f0fc2 /home ext3 relatime 1 2
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
# Entry for /dev/sda1 :
UUID=AC943C06943BD196 /mnt/win_c ntfs-3g defaults,umask=000 0 0
# Entry for /dev/sdb1 :
UUID=A6942CB1942C8641 /mnt/windows ntfs-3g defaults,umask=000 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda6 :
UUID=36a5658b-c078-4400-b985-29c40eb8e40d swap swap defaults 0 0

=================== sda5: Location of files loaded by Grub: ===================


  87.7GB: boot/grub/menu.lst
  87.6GB: boot/grub/stage2
  87.7GB: boot/initrd-desktop.img
  87.7GB: boot/initrd.img
  87.7GB: boot/initrd.img-2.6.28-13-generic
  87.6GB: boot/initrd-2.6.29.1-desktop-4mnb.img
  87.6GB: boot/initrd-2.6.29.3-desktop-1mnb.img
  87.7GB: boot/initrd-2.6.29.6-desktop-1mnb.img
  87.7GB: boot/initrd-2.6.29.6-desktop-2mnb.img
  87.7GB: boot/vmlinuz
  87.7GB: boot/vmlinuz-desktop
  87.7GB: boot/vmlinuz-2.6.29.1-desktop-4mnb
  87.7GB: boot/vmlinuz-2.6.29.3-desktop-1mnb
  87.7GB: boot/vmlinuz-2.6.29.6-desktop-1mnb
  87.7GB: boot/vmlinuz-2.6.29.6-desktop-2mnb

=========================== sda8/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

title Microsoft Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

### 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=651e88e8-4c84-4eaa-b34e-d091404f5c5d ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=651e88e8-4c84-4eaa-b34e-d091404f5c5d

## 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.04, kernel 2.6.28-15-generic
uuid 651e88e8-4c84-4eaa-b34e-d091404f5c5d
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=651e88e8-4c84-4eaa-b34e-d091404f5c5d ro quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
uuid 651e88e8-4c84-4eaa-b34e-d091404f5c5d
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=651e88e8-4c84-4eaa-b34e-d091404f5c5d ro  single
initrd /boot/initrd.img-2.6.28-15-generic

title Ubuntu 9.04, kernel 2.6.28-14-generic
uuid 651e88e8-4c84-4eaa-b34e-d091404f5c5d
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=651e88e8-4c84-4eaa-b34e-d091404f5c5d ro quiet splash
initrd /boot/initrd.img-2.6.28-14-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode)
uuid 651e88e8-4c84-4eaa-b34e-d091404f5c5d
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=651e88e8-4c84-4eaa-b34e-d091404f5c5d ro  single
initrd /boot/initrd.img-2.6.28-14-generic

title Ubuntu 9.04, kernel 2.6.28-13-generic
uuid 651e88e8-4c84-4eaa-b34e-d091404f5c5d
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=651e88e8-4c84-4eaa-b34e-d091404f5c5d ro quiet splash
initrd /boot/initrd.img-2.6.28-13-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
uuid 651e88e8-4c84-4eaa-b34e-d091404f5c5d
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=651e88e8-4c84-4eaa-b34e-d091404f5c5d ro  single
initrd /boot/initrd.img-2.6.28-13-generic

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 651e88e8-4c84-4eaa-b34e-d091404f5c5d
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=651e88e8-4c84-4eaa-b34e-d091404f5c5d ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 651e88e8-4c84-4eaa-b34e-d091404f5c5d
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=651e88e8-4c84-4eaa-b34e-d091404f5c5d ro  single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid 651e88e8-4c84-4eaa-b34e-d091404f5c5d
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 an existing
# linux installation on /dev/sda5.
title linux (on /dev/sda5)
root (hd0,4)
kernel /boot/vmlinuz BOOT_IMAGE=linux root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d splash=silent vga=788
initrd (hd0,4)/boot/initrd.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title linux-nonfb (on /dev/sda5)
root (hd0,4)
kernel /boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d
initrd (hd0,4)/boot/initrd.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title failsafe (on /dev/sda5)
root (hd0,4)
kernel /boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 failsafe
initrd (hd0,4)/boot/initrd.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title desktop 2.6.29.3-1mnb (on /dev/sda5)
root (hd0,4)
kernel /boot/vmlinuz-2.6.29.3-desktop-1mnb BOOT_IMAGE=desktop_2.6.29.3-1mnb root=UUID=47bff874-e92a-493d-b571-2bd28ecfe5f0 resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d splash=silent vga=788
initrd (hd0,4)/boot/initrd-2.6.29.3-desktop-1mnb.img
savedefault
boot


=============================== sda8/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/sda8 during installation
UUID=651e88e8-4c84-4eaa-b34e-d091404f5c5d /               ext3    relatime,errors=remount-ro 0       1
# /home was on /dev/sda9 during installation
UUID=e5b02fc9-d655-438c-bb40-28dc79682405 /home           ext3    relatime        0       2
# /win_c was on /dev/sda1 during installation
UUID=AC943C06943BD196 /win_c          ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
# /win_d was on /dev/sdb1 during installation
UUID=A6942CB1942C8641 /win_d          ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
# swap was on /dev/sda6 during installation
UUID=36a5658b-c078-4400-b985-29c40eb8e40d none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

=================== sda8: Location of files loaded by Grub: ===================


 144.3GB: boot/grub/menu.lst
 144.3GB: boot/grub/stage2
 144.4GB: boot/initrd.img-2.6.28-11-generic
 144.3GB: boot/initrd.img-2.6.28-13-generic
 144.3GB: boot/initrd.img-2.6.28-14-generic
 144.3GB: boot/initrd.img-2.6.28-15-generic
 144.3GB: boot/vmlinuz-2.6.28-11-generic
 144.3GB: boot/vmlinuz-2.6.28-13-generic
 144.3GB: boot/vmlinuz-2.6.28-14-generic
 144.4GB: boot/vmlinuz-2.6.28-15-generic
 144.3GB: initrd.img
 144.3GB: initrd.img.old
 144.4GB: vmlinuz
 144.3GB: vmlinuz.old

========================== sda10/boot/grub/menu.lst: ==========================

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,9)/boot/gfxmenu
default 0

title linux
kernel (hd0,9)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=b896a7bf-30f0-461c-99d5-d4c6a7d9f912  acpi=on resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d splash=silent vga=788
initrd (hd0,9)/boot/initrd.img

title linux-nonfb
kernel (hd0,9)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=b896a7bf-30f0-461c-99d5-d4c6a7d9f912  acpi=on resume=UUID=36a5658b-c078-4400-b985-29c40eb8e40d
initrd (hd0,9)/boot/initrd.img

title failsafe
kernel (hd0,9)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=b896a7bf-30f0-461c-99d5-d4c6a7d9f912  failsafe acpi=on
initrd (hd0,9)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

title Mandriva Linux (Official)
root (hd0,4)
configfile /boot/grub/menu.lst

title Ubuntu 9.04
root (hd0,7)
configfile /boot/grub/menu.lst

=============================== sda10/etc/fstab: ===============================

# Entry for /dev/sda10 :
UUID=b896a7bf-30f0-461c-99d5-d4c6a7d9f912 / ext3 relatime 1 1
none /dev/pts devpts mode=0620 0 0
# Entry for /dev/sda11 :
UUID=207f58d8-f1a6-463b-84b1-f6d163ad4f33 /home ext3 relatime 1 2
# Entry for /dev/sda1 :
UUID=AC943C06943BD196 /mnt/win_c ntfs-3g defaults 0 0
# Entry for /dev/sdb1 :
UUID=A6942CB1942C8641 /mnt/win_d ntfs-3g defaults 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda6 :
UUID=36a5658b-c078-4400-b985-29c40eb8e40d swap swap defaults 0 0

=================== sda10: Location of files loaded by Grub: ===================


 172.2GB: boot/grub/menu.lst
 172.2GB: boot/grub/stage2
 172.3GB: boot/initrd.img
 172.3GB: boot/initrd-2.6.26.8.tex3.img
 172.3GB: boot/vmlinuz
 172.3GB: boot/vmlinuz-2.6.26.8.tex3

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: GRUB po odstránení jednej distribúcie
« Odpověď #3 kdy: 11 Října 2009, 15:34:32 »
Tak, jak jsem psal; pokud vymažeš (hd0,9)=sda10, kód grubu v MBR ztratí odkaz a hodí chybu. Budeš ho muset obnovit tak, že odkaz bude mířit na (hd0,7)=sda8 (pokud se samozřejmě po tvých případných úpravách nezmění popis oddílu). Obnova grubu viz můj odkaz výše.
http://www.openstreetmap.org - mapy celého světa "wiki style"

Lovap

  • Návštěvník
  • Příspěvků: 63
Re: GRUB po odstránení jednej distribúcie
« Odpověď #4 kdy: 11 Října 2009, 15:44:29 »
No ... nedosiahol by som podobného účinku tak, že by som niečo zmenil na Ubunťáckom GRUB-e (napríklad v Startup managery dal ako východzí systém windows) a POTOM zmazal sda10 z disku? Tým pádom by malo dôjsť k prepísaniu Grubu tým ubunťáckym, nie? A potom by malo byť jedno či zmažem PCLOS (sda10 a 11), lebo by GRUB odkazoval na sda8. Ale nie som si istý ...

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: GRUB po odstránení jednej distribúcie
« Odpověď #5 kdy: 11 Října 2009, 15:55:18 »
Ne. Problém je v zavaděči (MBR - prvních 512 bytů disku), který máš na sda. Ten odkazuje na sda10, kde máš tu nabídku, co vidíš jako první. Pokud zvolíš Ubuntu, hodí se automaticky na sda8.

Musíš tedy opravit zavaděč na MBR.
http://www.openstreetmap.org - mapy celého světa "wiki style"

Lovap

  • Návštěvník
  • Příspěvků: 63
Re: GRUB po odstránení jednej distribúcie
« Odpověď #6 kdy: 11 Října 2009, 17:06:48 »
Dík. Spravil som to podľa Vami odporúčaného návodu (cez LiveCD) a funguje to!

 

Provoz zaštiťuje spolek OpenAlt.