Re: FutureFeature: anaconda stage1 shell?

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

 



Executive summary: I now have a workaround for my problem (not
being able to do an NFSISO installation of F11, via PXE).  The
problem is that the F11 anaconda won't talk to an older NFS
server, so I (temporarily) moved the F11 ISO images to a newer
(F8) machine and then I was able to do the NFSISO installation.
(The F10 anaconda talked to my older NFS server just fine.)

======================================================

If you are curious as to how I learned this, I was first trying
things like this, which failed since that (server) machine is
older and thus has an older NFS server (although I didn't know
then why it was failing):

  kernel F11/vmlinuz
  append initrd=F11/initrd.img ramdisk_size=10000
    repo=nfsiso:172.22.101.50:/home2/me/F/F11/DVD
    stage2=nfs:172.22.101.50:/home2/me/F/F11/install.img
    ip=dhcp keymap=us lang=en_US.UTF-8 loglevel=debug

(All such "append lines" were all on one line, really.)

So then I eventually tried to use FTP and temporarily turned on
the FTP server there, to see if I could do it that way:

  kernel F11/vmlinuz
  append initrd=F11/initrd.img ramdisk_size=10000
    repo=nfsiso:172.22.101.50:/home2/me/F/F11/DVD
    stage2=ftp://172.22.101.50/pub/F11/install.img
    ip=dhcp keymap=us lang=en_US.UTF-8 loglevel=debug

That was my first big success because it correctly fetched the
install.img and started it.  But after I specified the boot
loader options an error window appeared, entitled "Couldn't Mount
ISO Source" and giving the filename.

Since anaconda had started up a shell by then -- my original
request, remember -- I was then able to manually debug things,
which I'd never been able to do before since I'd never fetched
the install.img.  I looked up the specific error messages it was
giving me on Google and got a hint when one said that "proto=udp"
worked in such cases.  So I verified this by getting no errors
when I said:

  mount -r -t nfs -o nolock,proto=udp 172.22.101.50:/home2 /foo

But that didn't help much since I knew of no way (in anaconda) to
get an ISO image via FTP. So then I had the idea of moving the
ISO image to a newer system, not one I normally run as a server:

  kernel F11/vmlinuz
  append initrd=F11/initrd.img ramdisk_size=10000
    repo=nfsiso:172.22.109.124:/home5/me/Fedora_11
    stage2=ftp://172.22.101.50/pub/F11/install.img
    ip=dhcp keymap=us lang=en_US.UTF-8 loglevel=debug

That worked.  It was able to mount the ISO image and loop it and
successfully get the package installation information.  So then I
neatened it by removing the FTP and getting the install.img from
the newer machine via NFS and this is my final result:

  kernel F11/vmlinuz
  append initrd=F11/initrd.img ramdisk_size=10000
    repo=nfsiso:172.22.109.124:/home5/me/Fedora_11
    stage2=nfs:172.22.109.124:/home5/me/Fedora_11/install.img
    ip=dhcp keymap=us lang=en_US.UTF-8 loglevel=debug

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux