Re: booting from DVD image on hard drive partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 25 Mar 2012, stan wrote:

On Sat, 24 Mar 2012 21:28:43 -0500 (CDT)
Michael Hennebry <hennebry@xxxxxxxxxxxxxxxxxxxxx> wrote:

I couldn't use the kickstart file.
I kept getting  messages like this:
Unable to read package metadata. This may be due to a
missing repodata directory. Please ensure that your
install tree has been correctly generated.

Cannot retrieve repository metadata (repomd.xml) for
repository: Fedora 15-i386. Please verify its path and
try again.

The kickstart file is attached.

Thanks for the blow by blow, good for future reference.

The old /boot was /dev/sdb2 .
The new one is /dev/sda2 .
When asking where to put the bootloader,
the choices were the mbr of /dev/sdb or the first sector
of /dev/sdb2 . I chose the latter.  I'm not sure why the other mbr
was not an option.

I think it depends on the BIOS setting.  Whichever disk is set as boot
disk in the BIOS gets the mbr (so you can boot from it).  If you want
the other disk to get the mbr, it needs to be the boot disk.  Hmmm,
that seems to be sort of a catch-22.  You probably need to boot a
recovery disk and install the second disk before you can make it the
boot disk.  Or install it with grub directly when you boot it as below.

When I first tried what was supposed to be the initial reboot,
my old /boot , now called /shoe , was used.

It must the default in the BIOS.

I pushed reset, went into setup and reversed the hard drive boot
order. The result was not quite the blue screen of death.
It also had the word GRUB.

I can't give you the commands off the top of my head, but I think from
past reading of the grub manuals (pinfo grub), you could have fixed
everything right then using grub.

The almost blue screen of death wasn't completely blue,
but it was completely death.
Once upon a time I could boot from sda.
sdb was an add-on.
I'd have thought that making sda number one again would let me boot from it.

I pushed reset again, went into setup and reversed the hard drive
boot order. This time I went into the grub command line and
chainloaded into (hd0,1). I am currently using the result.

How do I make my machine boot with the new /boot ?

Here is the grub stanza I use to boot a version on another boot
partition, where the /boot is a separate partition.  If your boot is
under /, you will need to prepend /boot to the configfile line.

title Fedora 15 sata 1 boot 2
       root (hd1,1)
       configfile /grub/menu.lst

If you use the above in your original grub, you will boot from the
original disk, and then choose this stanza, and it will give you
another menu for the boot partition on the second drive, and you can
choose your kernel there.

I'd need (hd0,1) .
hd1 is the new disk.
It holds the old /boot for F14, /shoe for F15.
hd0 is the disk that came with my machine.
It holds /boot for F15.
It seems to me that I really should be able to boot from hd0 again.

At the moment, I do not have vim or gvim.

No vim?  Are you sure the install was successful?  I didn't think it
was possible to install Fedora without at least vim-minimal linked as
vi.

Here is what happened when I tried to get them:
[root@localhost ~]# yum install gvim
rpmdb: __db_meta_setup: /var/lib/rpm/Name: unexpected file type or
format error: cannot open Name index using db3 - Invalid argument (22)
rpmdb: __db_meta_setup: /var/lib/rpm/Providename: unexpected file
type or format error: cannot open Providename index using db3 -
Invalid argument (22) Loaded plugins: langpacks, presto,
refresh-packagekit Adding en_US to language list
rpmdb: __db_meta_setup: /var/lib/rpm/Name: unexpected file type or
format rpmdb: __db_meta_setup: /var/lib/rpm/Name: unexpected file
type or format
fedora/metalink                                          |  24 kB
00:00 Could not parse metalink
https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=i386
error was No repomd file Error: Cannot retrieve repository metadata
(repomd.xml) for repository: fedora. Please verify its path and try
again


How do I get gvim?

There is something wrong with your install.
You can try rebuilding your rpm database as root.
rpm --rebuilddb
This will take a while, depending on your package count.

That did it.  I can use yum now.
Of course that does not explain what happened in the first place.


Also, I clilcked on at least three desktop environments.
gnome is the only one that seems to be installed.

--
Michael   hennebry@xxxxxxxxxxxxxxxxxxxxx
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword."  --  Lily
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux