Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: mariangru 13 Března 2008, 20:33:50

Název: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 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
Název: Re: znovu nastoleni grubu
Přispěvatel: Marvn 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
Název: Re: znovu nastoleni grubu
Přispěvatel: mariangru 13 Března 2008, 21:50:10
a nedá se to udělat nějak tak, abych to nemusel pořád vyťukávat?
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: Milhouse 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ázev: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 14 Března 2008, 21:37:38
díky za odpověď, ale nevím, jak to udělat
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: MikiTwic 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
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 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.
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: Milhouse 17 Března 2008, 19:29:24
Vložil jste sem oba dva soubory stejné. Opravte si to. ;)
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 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
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: ADIO45 17 Března 2008, 19:52:57
je to vidět smajlíky stačí je dej větší mezeru
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: Milhouse 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ázev: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 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
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: Milhouse 17 Března 2008, 20:29:37
Ještě, který disk je zvolen v BIOSu jako 1.bootovací?
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 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
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: Milhouse 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ázev: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: Milhouse 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ázev: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 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"
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: premet 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  ;)
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 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
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: premet 17 Března 2008, 20:48:00
 jen
Kód: [Vybrat]
cat /boot/grub/menu.lst  :)
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: premet 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 :).
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: Milhouse 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ázev: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 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
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: premet 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.
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: premet 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 ??
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: Milhouse 17 Března 2008, 21:00:31
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 ??

Ne, žádné SDB nemá.

 A smažte ty dva poslední příspěvky s výpisem menu.lst. Jsou tu zbytečný.
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 17 Března 2008, 21:04:35
ok, znova ale co?
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: premet 17 Března 2008, 21:11:15
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 ??
Ne, žádné SDB nemá.
Ted jsem to nějak nepochopil ? Nejdřív jsi tu psal, že tam má být hdb3 a ne sdb3 a ted to nějak nechápu.

Mariangru : Zkuste znova
Kód: [Vybrat]
cat /media/hdb3/boot/grub/menu.lst
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: Milhouse 17 Března 2008, 21:12:06
Znova už nic, taky jsem se nechal zblbnout. Necháme to na zítra, dnes už dělám kokotiny...
Zkuste se zatím dostat na ten disk, kde je Fedora.
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 17 Března 2008, 21:15:18
dobře, tak na zítra, díky
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: premet 17 Března 2008, 21:17:52
Já to zkrátím. Pokud se vám podaří dostat na obsah Grubu z Fedory, což by snad mělo jít pomocí
Kód: [Vybrat]
cat /media/hdb3/boot/grub/menu.lst. Pak by stačilo zkopírovat záznam, který zavádí Fedoru a dopsat jej do boot/grub/menu.lst pomocí
Kód: [Vybrat]
gksudo gedit /boot/grub/menu.lst, které se nachází ve vašem Ubuntu.
Záznam, který máte hledat vypadá zhruba takhle
Kód: [Vybrat]
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
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 17 Března 2008, 21:36:57
cat: /media/hdb3/boot/grub/menu.lst: No such file or directory

toto by měl být výpis z grubu fedory:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd1,2)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=15
splashimage=(hd1,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-42.fc8)
   root (hd1,2)
   kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
   initrd /initrd-2.6.23.1-42.fc8.img
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: premet 17 Března 2008, 21:47:52
Tak toto
 
Kód: [Vybrat]
title Fedora (2.6.23.1-42.fc8)
   root (hd1,2)
   kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
   initrd /initrd-2.6.23.1-42.fc8.img
Přidat do vašeho grubu z Ubuntu ze kterého nabýhá váš systém. Tímto příkazem editujete váš Grub
Kód: [Vybrat]
gksudo gedit /boot/grub/menu.lst  :) pak uložit a restart a vyzkoušet, jestli funguje.
Název: Re: jak sjednotím dva Gruby na dvou různých discích?
Přispěvatel: mariangru 17 Března 2008, 22:22:50
tak, udelal jsem, co jste mi napsal a je vse v poradku / muzu uz ted nabootovat i do Fedory,
diky moc, jeste jednou dekuji