Booting Fedora-12 from hard disk, again, again
I'm taking the liberty of re-posting this query, as there seemed some problems with the previous posting, hopefully now resolved: Has anyone actually succeeded in booting Fedora-12 from the DVD ISO file on the hard disk, by adding a stanza to grub.conf ? I carried out the following commands: - [...@alfred ~]$ sudo mkdir /mnt/Fedora [...@alfred ~]$ sudo mount -o loop Fedora-12-i386-DVD.iso /mnt/Fedora/ [...@alfred ~]$ ls /mnt/Fedora/isolinux/ boot.cat boot.msg grub.conf initrd.img isolinux.bin isolinux.cfg splash.jpg TRANS.TBL vesamenu.c32 vmlinuz [...@alfred ~]$ ls /mnt/Fedora/images/ efiboot.img efidisk.img install.img pxeboot README TRANS.TBL [...@alfred ~]$ mkdir images [...@alfred ~]$ cp -a /mnt/Fedora/images/install.img images/ [...@alfred ~]$ sudo mkdir /boot/Fedora-12 [...@alfred ~]$ sudo cp -a /mnt/Fedora/isolinux/* /boot/Fedora-12/ - This is the entry I have added to /etc/grub.conf : - title Upgrade to Fedora-12 root (hd0,1) kernel /Fedora-12/vmlinuz ro initrd /Fedora-12/initrd.img - Now when I boot into this, all goes well until I try to install from Fedora-12*.iso when I the error "Device /dev/sda6 does not appear to contain an installation image". Am I doing something wrong? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On Sun, 20 Dec 2009 21:20:42 +, Timothy Murphy wrote: > I'm taking the liberty of re-posting this query, as there seemed some > problems with the previous posting, hopefully now resolved: > > Has anyone actually succeeded in booting Fedora-12 from the DVD ISO file > on the hard disk, by adding a stanza to grub.conf ? > > I carried out the following commands: - > [...@alfred ~]$ sudo mkdir /mnt/Fedora [...@alfred ~]$ sudo mount -o > loop Fedora-12-i386-DVD.iso /mnt/Fedora/ [...@alfred ~]$ ls > /mnt/Fedora/isolinux/ boot.cat boot.msg grub.conf initrd.img > isolinux.bin isolinux.cfg splash.jpg TRANS.TBL vesamenu.c32 vmlinuz > [...@alfred ~]$ ls /mnt/Fedora/images/ efiboot.img efidisk.img > install.img pxeboot README TRANS.TBL [...@alfred ~]$ mkdir images > [...@alfred ~]$ cp -a /mnt/Fedora/images/install.img images/ [...@alfred > ~]$ sudo mkdir /boot/Fedora-12 [...@alfred ~]$ sudo cp -a > /mnt/Fedora/isolinux/* /boot/Fedora-12/ - > > This is the entry I have added to /etc/grub.conf : > - > title Upgrade to Fedora-12 > root (hd0,1) > kernel /Fedora-12/vmlinuz ro > initrd /Fedora-12/initrd.img > - > > Now when I boot into this, all goes well until I try to install from > Fedora-12*.iso when I the error "Device /dev/sda6 does not appear to > contain an installation image". > > Am I doing something wrong? > > -- > Timothy Murphy > e-mail: gayleard /at/ eircom.net > tel: +353-86-2336090, +353-1-2842366 > s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland One can only guess, but... you put the images directory and Fedora12.iso in /home/tim ? and /dev/sda6 is /home ? Then when you boot you should specify both the drive and the path to the images directory. Don't remember if you must specify /tim or just tim. The point is you need to specify the path to the images directory, not just the drive. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
Timothy Murphy wrote: > I'm taking the liberty of re-posting this query, as there seemed some > problems with the previous posting, hopefully now resolved: > > Has anyone actually succeeded in booting Fedora-12 from the DVD ISO file > on the hard disk, by adding a stanza to grub.conf ? > > I carried out the following commands: - > [...@alfred ~]$ sudo mkdir /mnt/Fedora [...@alfred ~]$ sudo mount -o > loop Fedora-12-i386-DVD.iso /mnt/Fedora/ [...@alfred ~]$ ls > /mnt/Fedora/isolinux/ boot.cat boot.msg grub.conf initrd.img > isolinux.bin isolinux.cfg splash.jpg TRANS.TBL vesamenu.c32 vmlinuz > [...@alfred ~]$ ls /mnt/Fedora/images/ efiboot.img efidisk.img > install.img pxeboot README TRANS.TBL [...@alfred ~]$ mkdir images > [...@alfred ~]$ cp -a /mnt/Fedora/images/install.img images/ [...@alfred > ~]$ sudo mkdir /boot/Fedora-12 [...@alfred ~]$ sudo cp -a > /mnt/Fedora/isolinux/* /boot/Fedora-12/ - > > This is the entry I have added to /etc/grub.conf : > - > title Upgrade to Fedora-12 > root (hd0,1) > kernel /Fedora-12/vmlinuz ro > initrd /Fedora-12/initrd.img > - > > Now when I boot into this, all goes well until I try to install from > Fedora-12*.iso when I the error "Device /dev/sda6 does not appear to > contain an installation image". > > Am I doing something wrong? You don't give enough detail. What you have shown I think looks ok (would have to check old notes to be sure) The missing information is just what exactly did you enter into the anaconda gui. I have no f12 experience, but in my successful f11 hard disk install I did this two ways 1) using repo= option in kernel line: #title Install Fedora 11 repo=hd:/dev/sdb1:/root/diso reordr #root ... #kernel /boot/f11/vmlinuz noselinux repo=hd:/dev/sdb1:/root/diso #initrd /boot/f11/initrd.img 2)not using the repo= option #title Install Fedora 11 h NO repo= #root .. #kernel /boot/f11/vmlinuz noselinux #initrd /boot/f11/initrd.img #here I have to pick /dev/sdb1 and /root/diso for directory you enter these in the anaconda gui. The leading slash "/" in /root/diso is essential. This is documented on the fedora site somewhere; the leading slash requirement started with f10. Are you operating from f11? or earlier? The entire process for hard disk install, including detailed instructions for the images directory, was subject of a long thread Mike Cloaked and Tom Horsley, I think in Nov 2008, including a bugzilla re the leading slash. I don't have that bugzilla ref right now. If my experience is any guide, if you follow the instructions in that ref, it should just work. Jack -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
2009/12/20 Timothy Murphy : > I'm taking the liberty of re-posting this query, > as there seemed some problems with the previous posting, > hopefully now resolved: > > Has anyone actually succeeded in booting Fedora-12 > from the DVD ISO file on the hard disk, > by adding a stanza to grub.conf ? > > I carried out the following commands: > - > [...@alfred ~]$ sudo mkdir /mnt/Fedora > [...@alfred ~]$ sudo mount -o loop Fedora-12-i386-DVD.iso /mnt/Fedora/ So that means Fedora-12-i386-DVD.iso is in /home/tim/ > Now when I boot into this, all goes well > until I try to install from Fedora-12*.iso when I the error > "Device /dev/sda6 does not appear to contain > an installation image". > > Am I doing something wrong? I don't know for certain, but the only time I've ever tried this was on RHEL and the ISO file had to be on the root of the partition. So I think that means you should try moving it to /home/Fedora-12-i386-DVD.iso on the assumption that /dev/sda6 is /home -- Sam -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On 12/21/2009 12:20 PM, Sam Sharpe wrote: 2009/12/20 Timothy Murphy: I'm taking the liberty of re-posting this query, as there seemed some problems with the previous posting, hopefully now resolved: Has anyone actually succeeded in booting Fedora-12 from the DVD ISO file on the hard disk, by adding a stanza to grub.conf ? I carried out the following commands: - [...@alfred ~]$ sudo mkdir /mnt/Fedora [...@alfred ~]$ sudo mount -o loop Fedora-12-i386-DVD.iso /mnt/Fedora/ So that means Fedora-12-i386-DVD.iso is in /home/tim/ Now when I boot into this, all goes well until I try to install from Fedora-12*.iso when I the error "Device /dev/sda6 does not appear to contain an installation image". Am I doing something wrong? I don't know for certain, but the only time I've ever tried this was on RHEL and the ISO file had to be on the root of the partition. So I think that means you should try moving it to /home/Fedora-12-i386-DVD.iso on the assumption that /dev/sda6 is /home I think I tuned in late here, but I'm not clear what you're trying to do. If I'm reading this correctly: 1. You're running Fedora from hard disk 2. You're then loopback mounting an ISO image of F12 3. You're trying to install from that loopback mount You can't install a new Fedora on top of an already running Fedora to my knowledge. The install from DVD or LiveCD are special instances and Fedora is not running off the hard drive in those cases--it's running in a RAM disk. If you're trying to install via a network install (NFS or HTTP), then the ISO image itself is what you point at, not a loopback mount of it. The installer wants to see the ISO image itself, not the files in it. -- - Rick Stevens, Systems Engineer ri...@nerd.com - - AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 - -- - "Swap memory error: You lose your mind" - -- -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On Mon, 2009-12-21 at 13:47 -0800, Rick Stevens wrote: > If you're trying to install via a network install (NFS or HTTP), then > the ISO image itself is what you point at, not a loopback mount of it. > The installer wants to see the ISO image itself, not the files in it. When I've done network installs in the past, it was possible to do it either way (dependent on what sort of network install you were doing). But I found it much faster to install from ordinary files on a drive, there seemed to be an enormous memory and processing overhead on dealing with a large ISO. Sometimes it'd be a complete show-stopper. -- [...@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
Rick Stevens responded: > I think I tuned in late here, but I'm not clear what you're trying to > do. If I'm reading this correctly: >1. You're running Fedora from hard disk >2. You're then loopback mounting an ISO image of F12 >3. You're trying to install from that loopback mount > You can't install a new Fedora on top of an already running Fedora to my > knowledge. The install from DVD or LiveCD are special instances and > Fedora is not running off the hard drive in those cases--it's running > in a RAM disk. > If you're trying to install via a network install (NFS or HTTP), then > the ISO image itself is what you point at, not a loopback mount of it. > The installer wants to see the ISO image itself, not the files in it. Rick, My interpretation of what the OP is trying to do is different than yours: He is trying to do a "hard disk" install of f12, operating from his current fedora(f11?). This "hard disk" install requires having an available partition completely separate from his current fedora. There is no notion, afaik, of "install a new Fedora on top of an already running Fedora" as you put it, whatever you might mean by "on top of". This "hard disk" install does point to the f12 iso, but it also requires extracting the vmlinuz, initrd.img, and install.img from the iso, which i think requires doing the loopback mount. The install.img is placed in a "images" directory. There are strict requirements on where that images dir is to be placed; I am not sure, but i think the OP did this part correctly. Where he might be going wrong is how he interacts with Anaconda, as I tried to explain in my earlier reply He is not trying to do a network install, afaict. Jack -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On 12/22/2009 09:27 AM, jackson byers wrote: Rick Stevens responded: I think I tuned in late here, but I'm not clear what you're trying to do. If I'm reading this correctly: 1. You're running Fedora from hard disk 2. You're then loopback mounting an ISO image of F12 3. You're trying to install from that loopback mount You can't install a new Fedora on top of an already running Fedora to my knowledge. The install from DVD or LiveCD are special instances and Fedora is not running off the hard drive in those cases--it's running in a RAM disk. If you're trying to install via a network install (NFS or HTTP), then the ISO image itself is what you point at, not a loopback mount of it. The installer wants to see the ISO image itself, not the files in it. Rick, My interpretation of what the OP is trying to do is different than yours: He is trying to do a "hard disk" install of f12, operating from his current fedora(f11?). This "hard disk" install requires having an available partition completely separate from his current fedora. There is no notion, afaik, of "install a new Fedora on top of an already running Fedora" as you put it, whatever you might mean by "on top of". That's what I was trying to get at. He has to use a bootable image (LiveCD, thumbdrive, something) that brings up Anaconda. What I was trying to get at was that one can't update F11 while still running F11. The system being upgraded must be "quiescent". This "hard disk" install does point to the f12 iso, but it also requires extracting the vmlinuz, initrd.img, and install.img from the iso, which i think requires doing the loopback mount. The install.img is placed in a "images" directory. To build the bootable media, yes, I concur. You need to extract the appropriate items and to do that you have to either mount a CD/DVD or loopback mount an ISO image to get at them. There are strict requirements on where that images dir is to be placed; I am not sure, but i think the OP did this part correctly. Where he might be going wrong is how he interacts with Anaconda, as I tried to explain in my earlier reply There's no actual restriction on just where the ISO image itself is, so long as you can feed the full path to Anaconda by specifying the device and directory on that device (see http://docs.fedoraproject.org/install-guide/f12/en-US/html/s1-begininstall-hd-x86.html for details). He is not trying to do a network install, afaict. I wasn't sure if he was or not. As I said, I "tuned in late". -- - Rick Stevens, Systems Engineer ri...@nerd.com - - AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 - -- - Duct Tape + Magic Marker = Label Maker! - -- -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
>> jackson byers: >>There is no notion, afaik, of >>"install a new Fedora on top of an already running Fedora" >>as you put it, whatever you might mean by "on top of". > rick stevens: > That's what I was trying to get at. He has to use a bootable image > (LiveCD, thumbdrive, something) that brings up Anaconda. What I was > trying to get at was that one can't update F11 while still running F11. > The system being upgraded must be "quiescent". yes, but afaik the OP is not trying to "upgrade" or "update" F11. Rather he is using F11 and the F12 iso, (no LiveCD, no thumbdrive) and following the "hard disk" install procedure for F12. F11 is left entirely unchanged. When complete he will still have his orig F11, and also a brand new F12 in a separate partition. > rick stevens: > There's no actual restriction on just where the ISO image itself is, so > long as you can feed the full path to Anaconda by specifying the device > and directory on that device (see > http://docs.fedoraproject.org/install-guide/f12/en-US/html/s1-begininstall-hd-x86.html > for details). Agreed, and that is the best reference cheers, Jack -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On 12/22/2009 02:14 PM, jackson byers wrote: jackson byers: There is no notion, afaik, of "install a new Fedora on top of an already running Fedora" as you put it, whatever you might mean by "on top of". rick stevens: That's what I was trying to get at. He has to use a bootable image (LiveCD, thumbdrive, something) that brings up Anaconda. What I was trying to get at was that one can't update F11 while still running F11. The system being upgraded must be "quiescent". yes, but afaik the OP is not trying to "upgrade" or "update" F11. Rather he is using F11 and the F12 iso, (no LiveCD, no thumbdrive) and following the "hard disk" install procedure for F12. F11 is left entirely unchanged. When complete he will still have his orig F11, and also a brand new F12 in a separate partition. I'll leave it here. I've never tried to install the anaconda RPM and invoke it from a running system to install a new version/distro on a different disk or partition. I've done parallel installations, but only from bootable media...never from a live system. -- - Rick Stevens, Systems Engineer ri...@nerd.com - - AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 - -- -Hard work has a future payoff. Laziness pays off now. - -- -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On 12/22/2009 05:37 PM, Rick Stevens wrote: > > I'll leave it here. I've never tried to install the anaconda RPM and Not sure why you keep saying this - he is booting the install media - just via grub instead of dvd. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
jackson byers wrote: > yes, but afaik the OP is not trying to "upgrade" or "update" F11. > Rather he is using F11 and the F12 iso, (no LiveCD, no thumbdrive) > and following the "hard disk" install procedure for F12. > F11 is left entirely unchanged. > When complete he will still have his orig F11, and also > a brand new F12 in a separate partition. > >> rick stevens: >> There's no actual restriction on just where the ISO image itself is, so >> long as you can feed the full path to Anaconda by specifying the device >> and directory on that device (see >> http://docs.fedoraproject.org/install-guide/f12/en-US/html/s1- begininstall-hd-x86.html >> for details). > > Agreed, and that is the best reference As the OP, I managed in the end to install Fedora-12 from the hard disk, by adding a suitable entry in grub.conf . I'm not sure what I did wrong before, but finally I moved the Fedora ISO and the images directory to the top level on another partition, and all went well. I actually found the reference above slightly confusing, because it is not clear to me what is meant by "the installation image for Fedora" that is referred to. Does this mean the file install.img or the Fedora ISO? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
jackson byers wrote: > Rick, > My interpretation of what the OP is trying to do is different than yours: > He is trying to do a > "hard disk" install of f12, operating from his current fedora(f11?). That is correct. (I am the OP.) > This "hard disk" install requires having an available partition > completely separate from his current fedora. > There is no notion, afaik, of > "install a new Fedora on top of an already running Fedora" > as you put it, whatever you might mean by "on top of". > > This "hard disk" install does point to the f12 iso, > but it also requires extracting the vmlinuz, initrd.img, and install.img > from the iso, which i think requires doing the loopback mount. > The install.img is placed in a "images" directory. > There are strict requirements on where that images dir is to be placed; > I am not sure, but i think the OP did this part correctly. > Where he might be going wrong is how he interacts with Anaconda, > as I tried to explain in my earlier reply As I mentioned in a post above, this worked fine when I moved the Fedora ISO and the images directory to the top level on another partition. I'm not sure what I did wrong before. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
jackson byers wrote: >> There's no actual restriction on just where the ISO image itself is, so >> long as you can feed the full path to Anaconda by specifying the device >> and directory on that device (see >> http://docs.fedoraproject.org/install-guide/f12/en-US/html/s1- begininstall-hd-x86.html >> for details). > > Agreed, and that is the best reference I was looking again at this reference, and I really don't think it is very good, or likely to be helpful to someone trying to boot from hard disk. In the first place, I would have thought that almost anyone doing this would want to (or need to) avoid CDs or DVDs altogether, by abstracting vmlinuz, initrd.img and the images directory from the ISO file, and adding a stanza to grub.conf to boot from these. There are no instructions for doing this, as far as I can see. The implication seems to be that the user is running a Fedora CD or DVD, and then wants to install from hard disk, which seems bizarre to me. If you can boot from CD or DVD, why not install that way? Actually, the whole Installation Guide, while beautifully produced and full of interesting information, strikes me as more or less useless for anyone actually wanting to install Fedora. I get the impression the authors have never put themselves in the position of a likely reader of the Guide, who is almost certainly asking, "I want to install Fedora. What should I do?" -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On Wed, 2009-12-23 at 14:02 +, Timothy Murphy wrote: > If you can boot from CD or DVD, why not install that way? One big reason: They're a slow media, compared to other things. -- [...@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
>>> http://docs.fedoraproject.org/install-guide/f12/en-US/html/s1- begininstall-hd-x86.html >>> for details). >> >> Agreed, and that is the best reference >I was looking again at this reference, >and I really don't think it is very good, >or likely to be helpful to someone trying to boot from hard disk. That reference is(was) particularly important for showing explicitly that you need the leading slash {"/") for the directory. The leading slash needed starting in F10, prior to F10 no leading slash, which caused much confusion when attempting hdinstall starting from F10 (see bugzilla ref below). >In the first place, I would have thought that almost anyone doing this >would want to (or need to) avoid CDs or DVDs altogether, >by abstracting vmlinuz, initrd.img and the images directory >from the ISO file, >and adding a stanza to grub.conf to boot from these. >There are no instructions for doing this, as far as I can see. Well, you seem to have figured it out, congrats! May I ask, just where did you find the instructions re install.img,? I myself depended heavily on the references following; not much on the fedora site hdinstall was thoroughly discussed in these 3 refs: 1) fedora-list nov 2008 * F10 HD install - anyone successfully done this? From: Mike Cloaked and response by Tom Horsley 2} Bug 473351 - F10 HD install using the DVD iso file, initiated from grub, fails 3)View this message in context: http://www.nabble.com/F10-HD-install---anyone-successfully-done-this--tp20740373p20741211.html and a more recent thread: 4)fedora-list Jul 2009 Mail Lists Re: Installing F11 from local hard drive cheers, Jack -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
jackson byers wrote: >>In the first place, I would have thought that almost anyone doing this >>would want to (or need to) avoid CDs or DVDs altogether, >>by abstracting vmlinuz, initrd.img and the images directory >>from the ISO file, >>and adding a stanza to grub.conf to boot from these. > >>There are no instructions for doing this, as far as I can see. > > Well, you seem to have figured it out, congrats! > May I ask, just where did you find the instructions re install.img,? I think I first came across it when installing Fedora-10, which I believe was the first distribution where it was necessary to abstract install.img as well as vmlinuz and initrd.img . I guess I would first have read of it here, in a posting to this list/newsgroup. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On 12/22/2009 07:15 PM, Timothy Murphy wrote: jackson byers wrote: yes, but afaik the OP is not trying to "upgrade" or "update" F11. Rather he is using F11 and the F12 iso, (no LiveCD, no thumbdrive) and following the "hard disk" install procedure for F12. F11 is left entirely unchanged. When complete he will still have his orig F11, and also a brand new F12 in a separate partition. rick stevens: There's no actual restriction on just where the ISO image itself is, so long as you can feed the full path to Anaconda by specifying the device and directory on that device (see http://docs.fedoraproject.org/install-guide/f12/en-US/html/s1- begininstall-hd-x86.html for details). Agreed, and that is the best reference As the OP, I managed in the end to install Fedora-12 from the hard disk, by adding a suitable entry in grub.conf . I'm not sure what I did wrong before, but finally I moved the Fedora ISO and the images directory to the top level on another partition, and all went well. I actually found the reference above slightly confusing, because it is not clear to me what is meant by "the installation image for Fedora" that is referred to. Does this mean the file install.img or the Fedora ISO? "the installation image for Fedora" is the .iso file, when doing the install from hard disk or network. It's the CD, DVD or thumb drive you booted from when using that a "distribution media" method. -- - Rick Stevens, Systems Engineer ri...@nerd.com - - AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 - -- - Treat each day as if it's your last...a lot of crying and whining - - usually gets you what you want! -- Sam Sledge- -- -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On 12/22/2009 07:19 PM, Timothy Murphy wrote: jackson byers wrote: Rick, My interpretation of what the OP is trying to do is different than yours: He is trying to do a "hard disk" install of f12, operating from his current fedora(f11?). That is correct. (I am the OP.) This "hard disk" install requires having an available partition completely separate from his current fedora. There is no notion, afaik, of "install a new Fedora on top of an already running Fedora" as you put it, whatever you might mean by "on top of". This "hard disk" install does point to the f12 iso, but it also requires extracting the vmlinuz, initrd.img, and install.img from the iso, which i think requires doing the loopback mount. The install.img is placed in a "images" directory. There are strict requirements on where that images dir is to be placed; I am not sure, but i think the OP did this part correctly. Where he might be going wrong is how he interacts with Anaconda, as I tried to explain in my earlier reply As I mentioned in a post above, this worked fine when I moved the Fedora ISO and the images directory to the top level on another partition. I'm not sure what I did wrong before. The installer wants you to specify the disk partition where the .iso is, AND the full path to the directory. So, if it's on your /home directory (on partition /dev/sda5) and in your "/home/tim/images" directory, then you'd tell the installer: /dev/sda5 (for the partition) /tim/images (for the directory) -- - Rick Stevens, Systems Engineer ri...@nerd.com - - AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 - -- - Sarchasm: The gulf between the author of sarcastic wit and the - - reader...who doesn't get it. - -- -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On 12/23/2009 06:02 AM, Timothy Murphy wrote: jackson byers wrote: There's no actual restriction on just where the ISO image itself is, so long as you can feed the full path to Anaconda by specifying the device and directory on that device (see http://docs.fedoraproject.org/install-guide/f12/en-US/html/s1- begininstall-hd-x86.html for details). Agreed, and that is the best reference I was looking again at this reference, and I really don't think it is very good, or likely to be helpful to someone trying to boot from hard disk. In the first place, I would have thought that almost anyone doing this would want to (or need to) avoid CDs or DVDs altogether, by abstracting vmlinuz, initrd.img and the images directory from the ISO file, and adding a stanza to grub.conf to boot from these. All those do is give you enough of a system to boot and run the installer. They do NOT include the items necessary to install Fedora. For that you need the Packages directory. There are no instructions for doing this, as far as I can see. The implication seems to be that the user is running a Fedora CD or DVD, and then wants to install from hard disk, which seems bizarre to me. Not at all. CDs and DVDs are much slower than hard drives and are subject to all the possible errors inherent with non-contact, removable media (scratches, dirt, etc.). If you can boot from CD or DVD, why not install that way? Actually, the whole Installation Guide, while beautifully produced and full of interesting information, strikes me as more or less useless for anyone actually wanting to install Fedora. I get the impression the authors have never put themselves in the position of a likely reader of the Guide, who is almost certainly asking, "I want to install Fedora. What should I do?" The portions of the manual dealing with network or hard disk installs are intended for more experienced users. The vast majority of newbies will simply burn the ISO image to a CD or DVD and boot that. Anaconda is pretty simple from there. Even at that, a lot of newbies burn the actual ISO file to a disc (ending up with a disc with one file on it), when they're supposed to use the ISO file as a "disk image" to burn the disc. If you can find a way to make computer software installation absolutely foolproof, yet accessible to everyone regardless of skill level or experience, then PATENT IT QUICKLY! You'll make a mint! "Where the hell's the 'any' key? I've looked and looked and can't find it!" -- - Rick Stevens, Systems Engineer ri...@nerd.com - - AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 - -- - To err is human, to moo bovine. - -- -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
Rick Stevens wrote: >> I actually found the reference above slightly confusing, >> because it is not clear to me what is meant by >> "the installation image for Fedora" that is referred to. >> Does this mean the file install.img or the Fedora ISO? > > "the installation image for Fedora" is the .iso file, when doing the > install from hard disk or network. It's the CD, DVD or thumb drive you > booted from when using that a "distribution media" method. Thanks. But since there actually is a file called install.img involved centrally in this process, to use the term "installation image" for another file seems bound to cause confusion. Why not just call it the ISO file, or .iso file? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Booting Fedora-12 from hard disk, again, again
On Thu, 24 Dec 2009 01:52:24 + Timothy Murphy wrote: > But since there actually is a file called install.img > involved centrally in this process, > to use the term "installation image" for another file > seems bound to cause confusion. > Why not just call it the ISO file, or .iso file? I've been doing hard disk installs for quite a while now, and since fedora 10 (I think it was) you do indeed need the install.img file from the iso. Here's the procedure I have now used successfully many times: 1. Get the iso image stashed in a directory which contains no other .iso file on a partition that will survive the install. Let's use a specific example from my system. I have a external USB drive mounted at /backup with the disk label BACKUP and lots of iso images stashed in /backup/iso-images subdirectories. cd /backup/iso-images/Fedora-12-x86_64-DVD/ mkdir mnt mount -o loop Fedora-12-x86_64-DVD.iso mnt mkdir images cp mnt/images/install.img images mkdir /boot/f12 cp mnt/isolinux/initrd.img /boot/f12 cp mnt/isolinux/vmlinuz /boot/f12 umount mnt rmdir mnt Now edit the /boot/grub/grub.conf file and add an entry like this (adjusting the hd0,4 or whatever appropriately): title Install Fedora 12 x86_64 root (hd0,4) kernel /boot/f12/vmlinuz repo=hd:LABEL=BACKUP:/iso-images/Fedora-12-x86_64-DVD/ initrd /boot/f12/initrd.img Things to note: It is much simpler to have the install.img file extracted in the images directory next to the iso image than to provide separate boot parameters to say where it is. Using the LABEL= syntax to specify which disk seems to be essential as well, since anaconda appears to quite frequently enumerate the disks in a different order than the current installed linux does (so you may think it is /dev/sdc, but when anaconda boots, it is really /dev/sdb, then it can't find the files, etc). Now all you have to do is reboot and pick the "Install" item when it gets to grub, and off you go... -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines