summaryrefslogtreecommitdiffstats
path: root/loader2/cdinstall.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-508/+0
|
* When mount fails, pass the error message up to the UI layer.Chris Lumens2008-08-251-2/+2
|
* Rest of stage2.img changes.David Cantrell2008-08-131-4/+4
| | | | Reference install.img in anaconda rather than stage2.img.
* Make it more explicit we want the stage2.img URL, not the repo URL.Chris Lumens2008-08-131-2/+2
|
* Fix test for if we could access stage2.img on the CD (wwoods).Chris Lumens2008-07-241-1/+1
|
* Look for updates.img and product.img on the boot.iso.Chris Lumens2008-07-241-0/+20
|
* Support booting from FCP-attached CD/DVD drive on s390 (#184648)David Cantrell2008-07-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The s390 can boot El Torito CD or DVD images iff they are attached by zFCP, used as the IPL device, and contain a specially formatted boot image on the disc. IBM provided the tool to combobulate the boot image together and a description of the desired execution path. When you boot on s390, the linuxrc.s390 will look to see if you IPL'ed from a CD or DVD. If you did, it will ask if you also want to install from that device. If you answer yes (y, Y, or any case spelling of 'yes'), the script will bring the IPL device online so the kernel assigns it a device name. Then it skips over the network configuration and starts you in to loader. If you tell it no or did not IPL from a CD or DVD, it'll launch the missiles--wait, no, I mean you get the normal network installation questions before loader starts. I have no way to test this as it requires the following changes: (1) Rel-eng needs to build s390x media with -no-emul-boot and specify the new cdboot.img file on that platform. I have already contacted rel-eng about making this change. (2) I don't have a CD-ROM drive in my mainframe. IBM does and testing is all falling on them. IBM knows this...maybe. I explain all of this like anyone else on the team will ever get a chance to experience it. So there you have it. A letter opener.
* Fix a segfault when displaying the wrong CD message.Chris Lumens2008-07-141-4/+4
|
* Display a status message while waiting for the CD to become ready.Chris Lumens2008-07-111-0/+9
|
* Fix whitespace silliness.Peter Jones2008-07-101-2/+2
|
* Fix closing the drive door so that if the kernel happens to start giving us ↵Peter Jones2008-07-101-5/+93
| | | | the right error code, we'll handle it correctly...
* Correct argument order for newtWinMessage.Chris Lumens2008-07-101-4/+5
|
* Fix the mysterious Error: OK message.Chris Lumens2008-07-101-12/+4
|
* The return value from mediaCheckCdrom is totally useless.Chris Lumens2008-07-101-8/+4
|
* Use %m rather than strerror() where appropriate.Peter Jones2008-07-081-8/+4
|
* Make setupCdrom() actually return the path to the stage2 image it found.Peter Jones2008-07-081-42/+43
|
* Get the math right on how many usec per second...Peter Jones2008-07-071-1/+1
|
* Wait up to 45 seconds for "No medium found" to stop happening when looking forPeter Jones2008-07-071-0/+15
| | | | stage 2. Experimentation says it's about 18 seconds on my plextor drive...
* setupCdrom: Don't free stage2loc in a loop, since it isn't reallocated there.Peter Jones2008-07-021-1/+0
|
* Check return value of asprintf() consistentlyDavid Cantrell2008-06-271-17/+39
| | | | | | | | | For instances where the asprintf() was ignored, wrap it in a test to check if it failed. If it failed, log a message and abort. There may be some instances where abort may not be what we want to do, however, we were ignoring the return value completely so if we did get a failure, it would just SIGSEGV. Now it will SIGABRT instead.
* Enable media check again, and let it check the boot.iso.Chris Lumens2008-06-181-54/+35
|
* Strip cdinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-181-54/+26
| | | | | | This includes changing the API of setupCdrom to no longer take a requirepkgs parameter. Doing that also causes a cascade of having to change findAnacondaCD and all its callers for the same reason.
* mountStage2 no longer takes a directory argument.Chris Lumens2008-06-181-10/+4
| | | | | This removes the capability to find implicit updates.img files, but that will be coming back in a later patch. This is just some cleanup for now.
* Change mount point for CD to /mnt/stage2 when looking for stage2 (#443755).Chris Lumens2008-04-231-5/+3
| | | | | | | | This only affects installations where you are booting the full DVD but (for some crazy reason) want to do an HD or NFS install. Otherwise we'll already have /mnt/source mounted for the CD and won't be able to mount the real installation media on top of it. The DVD will end up getting used even though that's not what you wanted.
* Don't look for .discinfo on the rescue CD (#442098).Chris Lumens2008-04-181-1/+1
|
* Revert "Don't look for a .discinfo file in rescue mode (jvonau, #442098)."Chris Lumens2008-04-181-3/+8
| | | | This reverts commit 4725fff23a35799137ccece6fbb7c518c57ff311.
* Revert "Fix figuring out that the CD has stage2 on it and should be mounted."Chris Lumens2008-04-181-1/+2
| | | | This reverts commit f1d7351d39e0238baaaf0fdb0be34ac3f0c86d92.
* Fix figuring out that the CD has stage2 on it and should be mounted.Chris Lumens2008-04-161-2/+1
|
* Don't look for a .discinfo file in rescue mode (jvonau, #442098).Chris Lumens2008-04-151-8/+3
|
* Try to guess what Chris meant. At least we'll compileJeremy Katz2008-03-041-1/+1
|
* Support stage2= for CD installs in loader.Chris Lumens2008-03-041-6/+21
|
* mountStage2 now needs to take an extra argument for where updates are.Chris Lumens2008-03-041-4/+9
|
* Use the mount program instead of our own code.Chris Lumens2008-02-111-4/+2
| | | | | Also change isys's mount function to take its arguments as a string like would be passed to the mount program, instead of a handful of flags.
* Fix error message on continuing after changing cds with mediacheckJeremy Katz2008-02-071-1/+1
|
* Adjust loader to new hardware code.Bill Nottingham2007-12-201-2/+2
|
* Adjust to removal of moduleDeps and moduleList.Bill Nottingham2007-12-191-10/+4
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-4/+4
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* GPLv2+ boilerplates for loader2/ source files.David Cantrell2007-12-171-9/+16
|
* When retrying to locate the install CD, don't keep adding /dev/.Chris Lumens2007-12-111-4/+7
|
* Use libcheckisomd5 from standalone isomd5sum packageJeremy Katz2007-12-101-67/+2
| | | | | | Switch to using the libcheckisomd5 library from the standalone isomd5sum package. Note that we also now always check and don't differentiate "supported" ISOs any more
* Handle CDs by actual device name, not a /tmp/cdrom device node.Bill Nottingham2007-12-071-30/+22
|
* Don't download images into /tmp/ramfs; use /tmpJeremy Katz2007-12-061-2/+2
|
* Only run media check if we're installing off the CD (#362561).Chris Lumens2007-11-191-1/+2
|
* - remove sdupprintf(), use asprintf() instead.Peter Jones2007-10-221-12/+15
|
* Pass /mnt/stage2 as the location to mount the rescue CD on when checking for aChris Lumens2007-09-271-27/+32
| | | | local stage2.img. This allows the nfsiso method to work again.
* Same change you just saw on rhel5-branch ported to the HEAD branch.David Cantrell2007-08-061-1/+1
|
* Use "disc" instead of "CD" in dialogs (#242830).Chris Lumens2007-06-061-22/+22
|
* If there's an error getting the kickstart file, display an error message thatChris Lumens2006-11-211-1/+1
| | | | allows the user to select a new location (#216446).
* Better error handling and logging.Chris Lumens2006-08-031-2/+9
|
* more s390 fixageJeremy Katz2006-07-281-0/+2
|