Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
I've been using Ubuntu for bout 3 months now and wanted to try something different so I choose Fedora 7, Still havnt got the hang of rpm based gets a bit confusing going from Deb based but then again i'm a noob so never mind.
Anyway when i installed Ubuntu it deleted the grub booter and now I only have Fedora to choose from. I tried to edit it to add ubuntu and it did but everytime it tries to boot in it crashes on the boot up bar right at the beginning. I was wondering if anyone could help, heres a copy of both the /boot/grub/menu.lst i changed
Fedora:
-----------------------------------------------------------------
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img
### END DEBIAN AUTOMAGIC KERNELS LIST
-----------------------------------------------------------------
There is a mistake somewhere in here that wont let it load. But I really dont know.
Heres my partition list
-----------------------------------------------------------------
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9032 72549508+ 83 Linux
/dev/sda2 9543 9729 1502077+ 5 Extended
/dev/sda3 9033 9542 4096575 83 Linux
/dev/sda5 9543 9729 1502046 82 Linux swap / Solaris
-----------------------------------------------------------------
sda1 is the original ubuntu install
sda3 is my fedora one.
Please help me I dont wanna reinstall ubuntu just to get it back again
It looks like you need to change this, shown in bold.
Code:
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.20-16-generic root=LABEL=/
initrd /boot/initrd.img-1.6.20-16-generic
quiet
To this
Code:
root (hd0,0)
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
i tried some stuff with ubuntu and grub aswell, but havent figured out what goes wrong.
i did discover that if you use grub-install to install grub, it repleces (hdo,1) or /dev/hda etc to uuid's
i think that is logical, but i do not understand what a uuid is.. is it something that is being calculated from partition info? is is like a serialnumber written to the partition info?
i do think uuid could be handy if partition order changes , or even diskorder when you plug in usb disks ?
so that is why i would like to know what a uuid is, and when it is "set" and why it would change after partitionresize, is the resize program doing that? and why ?
how is uuid determined?
further i dont think using disklabels would cause problems, it just is when users change them that they could cause problems.
that is why i would say using uuids as a unique discription for a partition would be a very good solution, though the "cryptical" numbers dont realy mean anythng to users or admins.
so that is why i would like to know what a uuid is, and when it is "set" and why it would change after partitionresize, is the resize program doing that? and why ?
how is uuid determined?
UUIDs are generated by vol_id. Whenever you change partition structure, UUIDs are also changed. Check manual of vol_id.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users:Read This First
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe