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: jak sjednotím dva Gruby na dvou různých discích?  (Přečteno 6494 krát)

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
jak sjednotím dva Gruby na dvou různých discích?
« kdy: 13 Března 2008, 20:33:50 »
Ahoj
mám dva systémy, Ubuntu a Linux Mint - mají společný Ubuntu grub. Pak na druhý disk jsem instaloval Fedoru a ta má svůj grub na tom druhém disku.
Teď když zapnu komp, tak v grubu mám jen Ubuntu a Mint. Dá se nějak ty gruby z těch dvou různých disků sjednotit, abych tam měl na výběr i tu Fedoru?
díky za odpovědi
« Poslední změna: 14 Března 2008, 01:39:57 od Anna Taliánová »
Ubuntu Studio 12.10. HP ProBook4510s

Marvn

  • Stálý člen
  • **
  • Příspěvků: 627
  • Take it easy :)
Re: znovu nastoleni grubu
« Odpověď #1 kdy: 13 Března 2008, 21:07:12 »
muzete vzit zaznam z jednoho grubu (/boot/grub/menu.lst) a zkopirovat ho do druheho. Akorat vzdycky po aktualuzaci jadra se vam to prepise a musite ho tam pridavat znovu.

PS: zaznamem myslim napr. toto:

Kód: [Vybrat]
title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-16-generic root=* ro single
initrd /boot/initrd.img-2.6.20-16-generic
« Poslední změna: 14 Března 2008, 01:38:21 od Anna Taliánová »
Arch Linux x64 (KDE) | KISS  :-*
"Ignorance isn't stupidity, but choosing to remain ignorant is."

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: znovu nastoleni grubu
« Odpověď #2 kdy: 13 Března 2008, 21:50:10 »
a nedá se to udělat nějak tak, abych to nemusel pořád vyťukávat?
« Poslední změna: 14 Března 2008, 01:38:36 od Anna Taliánová »
Ubuntu Studio 12.10. HP ProBook4510s

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #3 kdy: 14 Března 2008, 08:04:31 »
a nedá se to udělat nějak tak, abych to nemusel pořád vyťukávat?
Jistě že dá, vložte to před řádek
Citace
### BEGIN AUTOMAGIC KERNELS LIST

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #4 kdy: 14 Března 2008, 21:37:38 »
díky za odpověď, ale nevím, jak to udělat
Ubuntu Studio 12.10. HP ProBook4510s

MikiTwic

  • Aktivní člen
  • *
  • Příspěvků: 239
  • Vždycky to nějak jde...
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #5 kdy: 15 Března 2008, 10:14:44 »
jednoduše to co překopíruješ do souboru menu.lst tak vložíš před řádek:
Citace
### BEGIN AUTOMAGIC KERNELS LIST
Ubuntu 11.10 "Oneiric Ocelot" 64-bit, Asus F3Tc AP087 - AMD Turion64 2.2GHz, 2GB RAM, Geforce Go 7300 (NVIDIA Driver Version: 173.14.30)

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #6 kdy: 17 Března 2008, 19:06:43 »
díky za rady, ale já tomu nerozumím, co mám udělat

tady jsou výpisy z jednotlivých grubů ( nyní mi funguje ten ubuntu grub ), prosím napište, jak to upravit:


Fedora:
Kód: [Vybrat]
# 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.
default 0

gfxmenu=/etc/grub/message.mint

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

# 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=/dev/hdb1 ro

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

## 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

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) 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

## ## End Default Options ##

title Linux Mint, kernel 2.6.22-14-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
boot

title Linux Mint, kernel 2.6.22-14-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.22-14-generic
boot

title Linux Mint, kernel memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
boot

### 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/hda1.
title Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=10aeed03-27c2-4fe6-b7c2-6f2ff50bdbf4 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=10aeed03-27c2-4fe6-b7c2-6f2ff50bdbf4 ro single
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
title Ubuntu 7.10, memtest86+ (on /dev/hda1)
root (hd0,0)
kernel /boot/memtest86+.bin 
savedefault
boot





a z ubuntu:

Kód: [Vybrat]
# 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=42ab7b70-a2dc-498c-8c60-072d71d17cf9 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

## 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 Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=42ab7b70-a2dc-498c-8c60-072d71d17cf9 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=42ab7b70-a2dc-498c-8c60-072d71d17cf9 ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,0)
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/hdb1.
title Linux Mint, kernel 2.6.22-14-generic (on /dev/hdb1)
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb1.
title Linux Mint, kernel 2.6.22-14-generic (recovery mode) (on /dev/hdb1)
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb1.
title Linux Mint, kernel memtest86+ (on /dev/hdb1)
root (hd1,0)
kernel /boot/memtest86+.bin 
savedefault
boot
Želví editace: piš to prosím do kódu, dělá to smajlíky.
« Poslední změna: 17 Března 2008, 19:22:45 od Martin 'Želva' Malý »
Ubuntu Studio 12.10. HP ProBook4510s

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #7 kdy: 17 Března 2008, 19:29:24 »
Vložil jste sem oba dva soubory stejné. Opravte si to. ;)

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #8 kdy: 17 Března 2008, 19:48:01 »
asi jsem to zkonil, omlouvám se:

ubuntu:

# 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=42ab7b70-a2dc-498c-8c60-072d71d17cf9 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

## 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      Ubuntu 7.10, kernel 2.6.22-14-generic
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=42ab7b70-a2dc-498c-8c60-072d71d17cf9 ro quiet splash
initrd      /boot/initrd.img-2.6.22-14-generic
quiet

title      Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=42ab7b70-a2dc-498c-8c60-072d71d17cf9 ro single
initrd      /boot/initrd.img-2.6.22-14-generic

title      Ubuntu 7.10, memtest86+
root      (hd0,0)
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/hdb1.
title      Linux Mint, kernel 2.6.22-14-generic (on /dev/hdb1)
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro quiet splash
initrd      /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb1.
title      Linux Mint, kernel 2.6.22-14-generic (recovery mode) (on /dev/hdb1)
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro single
initrd      /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb1.
title      Linux Mint, kernel memtest86+ (on /dev/hdb1)
root      (hd1,0)
kernel      /boot/memtest86+.bin 
savedefault
boot


Fedora:

# 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.
default      0

gfxmenu=/etc/grub/message.mint

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      10

# 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=/dev/hdb1 ro

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

## 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

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) 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

## ## End Default Options ##

title      Linux Mint, kernel 2.6.22-14-generic
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro quiet splash
initrd      /boot/initrd.img-2.6.22-14-generic
boot

title      Linux Mint, kernel 2.6.22-14-generic (recovery mode)
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro single
initrd      /boot/initrd.img-2.6.22-14-generic
boot

title      Linux Mint, kernel memtest86+
root      (hd1,0)
kernel      /boot/memtest86+.bin
boot

### 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/hda1.
title      Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/hda1)
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=10aeed03-27c2-4fe6-b7c2-6f2ff50bdbf4 ro quiet splash
initrd      /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
title      Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/hda1)
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=10aeed03-27c2-4fe6-b7c2-6f2ff50bdbf4 ro single
initrd      /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
title      Ubuntu 7.10, memtest86+ (on /dev/hda1)
root      (hd0,0)
kernel      /boot/memtest86+.bin 
savedefault
boot
Ubuntu Studio 12.10. HP ProBook4510s

ADIO45

  • Stálý člen
  • **
  • Příspěvků: 847
  • snažím poradit...nezáleží na karmy ale snahu :)
    • Dráčkovo herní doupě
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #9 kdy: 17 Března 2008, 19:52:57 »
je to vidět smajlíky stačí je dej větší mezeru
Toshiba L505 - iCore-3, ATI Radeon HD, 4GB ram,500GB  + Win7 s virtual Ubuntu
Neumím psát česky. Jsem sluchově postižení...

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #10 kdy: 17 Března 2008, 20:20:02 »
Takže...
Podle Grubu máte nainstalovány pouze 2 systémy.
A to na 1.fyzickém disku, označovaném jako (hd0,0), distribuci Ubuntu 7.10.
Na 2.fyzickém disku instalaci distribuce Mint, označovaném jako (hd1,0)

Ani z jednoho Grubu nelze najet Fedora. Takže nevím nic, co bych použil. Budu chtít od vás výpis následujícího příkazu:
Citace
sudo fdisk -l

Pak se pohneme dál.

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #11 kdy: 17 Března 2008, 20:24:23 »
díky za zájem, tady je ten výpis:

Disk /dev/hda: 160,0 GB, 160 041 885 696 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 19 457
Jednotky = cylindry po 16065 * 512 = 8 225 280 bajtech
Identifikátor disku: 0xcbd090c6

Zařízení Zavádět   Začátek       Konec    Bloky    Id  Systém
/dev/hda1   *           1       19175   154023156   83  Linux
/dev/hda2           19176       19457     2265165    5  Rozšířený
/dev/hda5           19176       19457     2265133+  82  Linux swap/Solaris

Disk /dev/hdb: 80,0 GB, 80 026 361 856 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 9 729
Jednotky = cylindry po 16065 * 512 = 8 225 280 bajtech
Identifikátor disku: 0x07eb07ea

Zařízení Zavádět   Začátek       Konec    Bloky    Id  Systém
/dev/hdb1   *           1        3824    30716248+  83  Linux
/dev/hdb2            9448        9729     2265165    5  Rozšířený
/dev/hdb3            3825        3849      200812+  83  Linux
/dev/hdb4            3850        9447    44965935   8e  Linux LVM
/dev/hdb5            9448        9729     2265133+  82  Linux swap/Solaris

Diskové oddíly jsou chybně seřazeny
Ubuntu Studio 12.10. HP ProBook4510s

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #12 kdy: 17 Března 2008, 20:29:37 »
Ještě, který disk je zvolen v BIOSu jako 1.bootovací?
« Poslední změna: 17 Března 2008, 20:39:12 od Milhouse »

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #13 kdy: 17 Března 2008, 20:36:23 »
je to IDE-0: WDC WD1600JB - 00 FUA0, tuším hd 1, určitě ten, ze kterého bootuje Ubuntu
dík za pomoc
Ubuntu Studio 12.10. HP ProBook4510s

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #14 kdy: 17 Března 2008, 20:39:16 »
Ještě výpis:
Citace
blkid
A pokud je disk s Fedorou připojen do adresáře /media/sdb3:
Citace
cat /media/sdb3/boot/grub/menu.lst

snad to mám dobře. :)

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #15 kdy: 17 Března 2008, 20:41:50 »
Má-li někdo funkční Fedoru, mohl by sem hodit menu.lst? Stačí část s výběrem OS.
Dik.

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #16 kdy: 17 Března 2008, 20:44:25 »
/dev/hda1: UUID="42ab7b70-a2dc-498c-8c60-072d71d17cf9" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda5: UUID="baadffed-c5ef-47cd-8bd9-3e503a15a6ca" TYPE="swap"
/dev/hdb1: UUID="e3b8aeac-50fd-4b5d-869e-df905d02ab0a" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdb5: UUID="65f1391a-cfb6-4bff-b607-22c978b1a47d" TYPE="swap"
Ubuntu Studio 12.10. HP ProBook4510s

premet

  • Host
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #17 kdy: 17 Března 2008, 20:45:54 »
/dev/hda1: UUID="42ab7b70-a2dc-498c-8c60-072d71d17cf9" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda5: UUID="baadffed-c5ef-47cd-8bd9-3e503a15a6ca" TYPE="swap"
/dev/hdb1: UUID="e3b8aeac-50fd-4b5d-869e-df905d02ab0a" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdb5: UUID="65f1391a-cfb6-4bff-b607-22c978b1a47d" TYPE="swap"
Toto není výpis menu.lst  ;)

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #18 kdy: 17 Března 2008, 20:46:10 »
to druhé mí píše not such file or directory:

cat: /media/sdb3/boot/grub/menu.lst: No such file or directory
Ubuntu Studio 12.10. HP ProBook4510s

premet

  • Host
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #19 kdy: 17 Března 2008, 20:48:00 »
 jen
Kód: [Vybrat]
cat /boot/grub/menu.lst  :)

premet

  • Host
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #20 kdy: 17 Března 2008, 20:51:23 »
Už jste to zde posílal jednou  ;) a příště to radši v kládejte do kodu at to není přes celou stránku :).

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #21 kdy: 17 Března 2008, 20:52:10 »
Premet, neblbni mu hlavu. Měl to dobře. Menu.lst chci dostat z Fedory. Nevím, jaký jádro mám dopsat!

mariangru, musíte ten disk s Fedorou připojit a podívat se tam na soubory. To snad nebude problém, ne?

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

mariangru

  • Aktivní člen
  • *
  • Příspěvků: 307
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #22 kdy: 17 Března 2008, 20:54:09 »
díky Pánové, ale pomalu z toho začínám cvokatit
jak připojit disk, já ho mám připojený a můžu procházet soubory, jen to do Fedory nenabootuji
dík za pomoc
Ubuntu Studio 12.10. HP ProBook4510s

premet

  • Host
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #23 kdy: 17 Března 2008, 20:54:37 »
Jo omlouvám se  ;D já jsem si myslel, že to píše uplně někdo jinej kdo má Fedoru a nevšiml jsem si, že se jedná o uživatele, který založil toto téma  :o . Jinak chápu co potřebuješ jen sem chtěl taky pomoct.

premet

  • Host
Re: jak sjednotím dva Gruby na dvou různých discích?
« Odpověď #24 kdy: 17 Března 2008, 20:57:55 »
Jak ted koukám z výpisu fdisk nemá to být spíše
Kód: [Vybrat]
cat /media/hdb3/boot/grub/menu.lst místo
Kód: [Vybrat]
cat /media/sdb3/boot/grub/menu.lst ??

 

Provoz zaštiťuje spolek OpenAlt.