booting from DVD image on hard drive partition

Michael Hennebry hennebry at web.cs.ndsu.nodak.edu
Sun Mar 25 02:28:43 UTC 2012


I managed to boot from the F13, F14 and F15 install isos.
Still no go with F16.

To boot F13, I needed to point at a partition
that was a copy of the F13 iso.
To boot F14 and F15, I needed to point at a
filesystem that had their respective isos as files.

For F15, I did the install.  F16 seems to be impossible.
I've still got crap.
Here is the grub stanza:
title Install Fedora15 from iso
 	root (hd0,2)
 	pause have rooted
 	find  /isolinux15/vmlinuz
 	pause have finded
 	kernel /isolinux15/vmlinuz askmethod
 	pause have kerneled
 	find   /isolinux15/initrd.img
 	pause have finded
 	initrd /isolinux15/initrd.img
 	pause have initrded
# ks=http://www.cs.ndsu.nodak.edu/~hennebry/anaconda-ks.cfg

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.

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.

When I first tried what was supposed to be the initial reboot,
my old /boot , now called /shoe , was used.
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 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 ?

At the moment, I do not have vim or gvim.
Here is what happened when I tried to get them:
[root at 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?

--
Michael   hennebry at web.cs.ndsu.NoDak.edu
"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
-------------- next part --------------
# Kickstart file automatically generated by anaconda.

#version=DEVEL
install
cdrom
lang en_US.UTF-8
keyboard us
network  --onboot yes               --bootproto dhcp --noipv6
#network --onboot yes --device eth0 --bootproto dhcp --noipv6
timezone --utc America/North_Dakota/New_Salem
rootpw  --iscrypted $6$kwBdvuhPC0cEY23L$rXyZL5Scid5uGSOmh2DjKkVObujaNEVAZpNMfbuUSMQ3w96hKJBDYDXVv8AO4l9y5e8NHZalhYk0qYmZ2ZR1O/
selinux --enforcing
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
firewall --service=ssh
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --none

#part None --fstype=vfat --onpart=sda1 --noformat
#part /boot --fstype=ext4 --onpart=sda2
#part None --fstype=ext3 --label="ide3" --onpart=sda3 --noformat

#part swap --onpart=sda5
#part None --fstype=ext3 --label="/home" --onpart=sda6 --noformat
#part None --fstype=ext3 --label="ide7" --onpart=sda7 --noformat

#part None --fstype=ext3 --label="/home1" --onpart=sdb1 --noformat
#part / --fstype=ext4 --onpart=sdb10
#part /var --fstype=ext4 --onpart=sdb11
#part /shoe --fstype=ext3 --label="/boot1" --onpart=sdb2 --noformat
#part None --fstype=ext3 --label="/1" --onpart=sdb3 --noformat

#part None --fstype=ext3 --label="/var1" --onpart=sdb5 --noformat
#part swap --onpart=sdb6
#part None --fstype=ext3 --onpart=sdb7 --noformat
#part None --fstype=ext3 --onpart=sdb8 --noformat
#part None --fstype=ext3 --label="sata400-9" --onpart=sdb9 --noformat



bootloader --location=mbr --driveorder=sda,sdb --append="rhgb quiet"
repo --name="Fedora 15 - i386"  --baseurl=http://mirror.its.uidaho.edu/pub/fedora/linux/releases/15/Everything/i386/os/ --cost=1000
repo --name='=Adobe Systems Incorporated' --baseurl=http://linuxdownload.adobe.com/linux/i386/
#
repo --name='=Evolution updates and EWS (Fedora_15)' --baseurl=http://download.meego.com/live/home:/dwmw2:/evo/Fedora_15/
#
repo --name='=Fedora 15 - i386' --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-15&arch=i386
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/16/Everything/i386/os/
#
repo --name='=Fedora 15 - i386 - Updates' --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f15&arch=i386
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/15/i386/
#
repo --name='=google-chrome' --baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
#
repo --name='=RPM Fusion for Fedora 15 - Free' --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-15&arch=i386
#baseurl=http://download1.rpmfusion.org/free/fedora/releases/16/Everything/i386/os/
#
repo --name='=RPM Fusion for Fedora 15 - Free - Updates' --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-15&arch=i386
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/15/i386/
#
repo --name='=RPM Fusion for Fedora 15 - Nonfree' --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-15&arch=i386
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/16/Everything/i386/os/
#
repo --name='=RPM Fusion for Fedora 15 - Nonfree - Updates' --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-15&arch=i386
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/16/i386/
#
repo --name='=Fedora 15 - i386 - VirtualBox' --baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/15/i386
#

%packages
@admin-tools
@authoring-and-publishing
@base
@core
@editors
@engineering-and-scientific
@fonts
@gnome-desktop
@games
@graphical-internet
@graphics
@hardware-support
@input-methods
@java
@office
@online-docs
@printing
@sound-and-video
@text-internet
@base-x
@xfce-desktop
@kde-desktop
xfsprogs
mtools
gpgme
openoffice.org-opensymbol-fonts
gvfs-obexftp
hdparm
gok
iok
vorbis-tools
jack-audio-connection-kit
ncftp
gdm
%end


More information about the users mailing list