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
-
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
-
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:
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
-
a nedá se to udělat nějak tak, abych to nemusel pořád vyťukávat?
-
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
### BEGIN AUTOMAGIC KERNELS LIST
-
díky za odpověď, ale nevím, jak to udělat
-
jednoduše to co překopíruješ do souboru menu.lst tak vložíš před řádek:
### BEGIN AUTOMAGIC KERNELS LIST
-
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:
# 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:
# 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.
-
Vložil jste sem oba dva soubory stejné. Opravte si to. ;)
-
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
-
je to vidět smajlíky stačí je dej větší mezeru
-
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:
sudo fdisk -l
Pak se pohneme dál.
-
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
-
Ještě, který disk je zvolen v BIOSu jako 1.bootovací?
-
je to IDE-0: WDC WD1600JB - 00 FUA0, tuším hd 1, určitě ten, ze kterého bootuje Ubuntu
dík za pomoc
-
Ještě výpis:
blkid
A pokud je disk s Fedorou připojen do adresáře /media/sdb3:
cat /media/sdb3/boot/grub/menu.lst
snad to mám dobře. :)
-
Má-li někdo funkční Fedoru, mohl by sem hodit menu.lst? Stačí část s výběrem OS.
Dik.
-
/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"
-
/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 ;)
-
to druhé mí píše not such file or directory:
cat: /media/sdb3/boot/grub/menu.lst: No such file or directory
-
jen
cat /boot/grub/menu.lst :)
-
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 :).
-
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?
-
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
-
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.
-
Jak ted koukám z výpisu fdisk nemá to být spíše
cat /media/hdb3/boot/grub/menu.lst místo cat /media/sdb3/boot/grub/menu.lst ??
-
Jak ted koukám z výpisu fdisk nemá to být spíše cat /media/hdb3/boot/grub/menu.lst místo 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ý.
-
ok, znova ale co?
-
Jak ted koukám z výpisu fdisk nemá to být spíše cat /media/hdb3/boot/grub/menu.lst místo 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 cat /media/hdb3/boot/grub/menu.lst
-
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.
-
dobře, tak na zítra, díky
-
Já to zkrátím. Pokud se vám podaří dostat na obsah Grubu z Fedory, což by snad mělo jít pomocí
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í gksudo gedit /boot/grub/menu.lst, které se nachází ve vašem Ubuntu.
Záznam, který máte hledat vypadá zhruba takhle
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
-
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
-
Tak toto
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.imgPřidat do vašeho grubu z Ubuntu ze kterého nabýhá váš systém. Tímto příkazem editujete váš Grub gksudo gedit /boot/grub/menu.lst :) pak uložit a restart a vyzkoušet, jestli funguje.
-
tak, udelal jsem, co jste mi napsal a je vse v poradku / muzu uz ted nabootovat i do Fedory,
diky moc, jeste jednou dekuji