summaryrefslogtreecommitdiffstats
path: root/loader2/hdinstall.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-519/+0
|
* When mount fails, pass the error message up to the UI layer.Chris Lumens2008-08-251-1/+1
|
* Copy the install.img to /tmp on HD installs.Chris Lumens2008-08-141-14/+19
| | | | | | | This is needed for preupgrade so that the /boot partition will be unmounted when we scan the /etc/fstab and mount all partitions. Also, we should only look for updates.img and product.img after we've decided this partition has a valid install.img on it.
* If the UI was used to specify a repo, construct a repo param (#458899).Chris Lumens2008-08-141-0/+2
|
* Correctly handle typos in the stage2 location when inferred from repo=.Chris Lumens2008-08-131-0/+6
| | | | | | | | | When we are given repo= but have to infer a location for the stage2 image, we need to deal with typos. When we try to get the stage2 image, the user has a chance to correct things in the UI. However, this does not change the repo= parameter we used to make our stage2 guess. While we can't be sure what the user really meant to do, we can at least try to trim off the /images/whatever portion of the path that was constructed by the UI.
* Rest of stage2.img changes.David Cantrell2008-08-131-1/+1
| | | | Reference install.img in anaconda rather than stage2.img.
* Fix the loader UI when prompting for stage2.img on HDISO.Chris Lumens2008-08-131-8/+10
|
* Make it more explicit we want the stage2.img URL, not the repo URL.Chris Lumens2008-08-131-7/+7
|
* Remove support for generating a minstg2.img image.David Cantrell2008-07-241-7/+2
| | | | | | The minstg2 image has outlived its usefulness. We are at a point where we have been maintaining two stage 2 images and they are slowly becoming identical.
* Use %m rather than strerror() where appropriate.Peter Jones2008-07-081-14/+7
|
* Check return value of asprintf() consistentlyDavid Cantrell2008-06-271-14/+48
| | | | | | | | | 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.
* Strip hdinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-181-173/+45
|
* Strip cdinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-181-1/+1
| | | | | | 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-1/+1
| | | | | 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.
* Rename methodData to stage2Data, since that's more appropriate.Chris Lumens2008-06-181-6/+6
|
* Change mount point for CD to /mnt/stage2 when looking for stage2 (#443755).Chris Lumens2008-04-231-1/+1
| | | | | | | | 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.
* Fix a segfault freeing memory on boot.iso+hdiso installs.Chris Lumens2008-03-301-5/+10
|
* Tear down the right loopback device before going to stage2.Chris Lumens2008-03-281-1/+1
|
* Handle /dev being on hard drive devices in the second stageJeremy Katz2008-03-201-2/+2
| | | | | | | Sometimes, we can have a device without the leading /dev (method= or stage2= for compatibility) and doing strrchr breaks on cciss too. So just pass whatever we got to the second stage and deal with it where we can at least use python string handling
* Always unmount /mnt/source on hdiso installs before starting stage2.Chris Lumens2008-03-191-1/+2
|
* Fix format of method=hd: parameter (#438075).Chris Lumens2008-03-181-6/+5
|
* Work on support for NFSISO installs when using boot.iso.Chris Lumens2008-03-181-1/+1
|
* On HDISO installs, look for the stage2.img file in the right directory.Chris Lumens2008-03-141-12/+12
|
* Fix the format of the method=hd: parameter.Chris Lumens2008-03-131-4/+6
|
* Fix detection of ISO images on a hard drive partition.Chris Lumens2008-03-111-3/+3
|
* Support stage2= for HD installs.Chris Lumens2008-03-041-33/+71
|
* If stage2= is given, it overrides the check for a CD stage2 image.Chris Lumens2008-03-041-3/+7
|
* Use the mount program instead of our own code.Chris Lumens2008-02-111-1/+1
| | | | | 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.
* Make loopback device purposes line up with what stage2 expects.Chris Lumens2008-02-061-2/+2
|
* Use /mnt/source and /mnt/isodir just like nfsiso installs.Chris Lumens2008-02-041-16/+10
|
* Don't use quite so many slashes in path names.Chris Lumens2008-02-041-2/+9
|
* Adjust loader to new hardware code.Bill Nottingham2007-12-201-2/+2
|
* Adjust to removal of moduleDeps and moduleList.Bill Nottingham2007-12-191-13/+7
|
* 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
|
* Adjust to new udev world. Use actual device names, not /tmp/<whatever>.Bill Nottingham2007-12-071-6/+4
|
* Don't download images into /tmp/ramfs; use /tmpJeremy Katz2007-12-061-1/+1
|
* - remove sdupprintf(), use asprintf() instead.Peter Jones2007-10-221-9/+11
|
* Set up the method parameter to match what the rest of anaconda expectsChris Lumens2007-09-051-5/+4
| | | | (#287241).
* 2007-08-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-08-231-38/+59
| | | | | * loader2/hdinstall.c (loadHDImages): Handle using the rescue CD for the second stage on hard drive installs (#186641)
* Same change you just saw on rhel5-branch ported to the HEAD branch.David Cantrell2007-08-061-1/+1
|
* Change prototype of chooseManualDriver to take a loaderData instead of severalChris Lumens2007-06-221-4/+2
| | | | module parameters. Use new loadDriverFromMedia interface in hdinstall.c.
* Fix test for NULL (#222767, Zhang Yanmin <yanmin.zhang AT intel.com>).Chris Lumens2007-01-161-1/+1
|
* If there's an error getting the kickstart file, display an error message thatChris Lumens2006-11-211-4/+4
| | | | allows the user to select a new location (#216446).
* * loader2/cdinstall.c: loaderData->method is now an int.David Cantrell2006-07-271-281/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * loader2/hdinstall.c: Whitespace consistency, loaderData->method is now an int. * loader2/loader.c (doLoaderMain): loaderData->method is now an int, pass methodNum to readNetConfig(). * loader2/loader.h: char * method -> int method. * loader2/method.c: Set loaderData->method to appropriate METHOD_ value since it's now an int. * loader2/method.h: Add METHOD_* macros. * loader2/net.c (cidrCallback): Dialog wording change. * loader2/net.c (readNetConfig): Take methodNum as a param, pass methodNum to configureTCPIP(). * loader2/net.c (configureTCPIP): Take methodNum as a param, if user selects METHOD_NFS and unchecks IPv4, display error dialog and ask user to try again. * loader2/net.c (kickstartNetworkUp): Pass methodNum to readNetConfig(). * loader2/net.h: Prototype updates. * loader2/nfsinstall.c: loaderData->method is now an int. * loader2/urlinstall.c: loaderData->method is now an int.
* 2006-06-30 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-301-5/+5
| | | | | | | | | | * scripts/mk-images: Move second stage images to images/ dir. * image.py: Adjust for stage2 in images/ * loader2/cdinstall.c: Likewise. * loader2/hdinstall.c: Likewise. * loader2/method.c: Likewise. * loader2/nfsinstall.c: Likewise. * loader2/urlinstall.c: Likewise.
* Make the boot flags variable global. We don't need to pass it (or a pointer ↵David Cantrell2006-06-121-18/+20
| | | | to it) all over the place.
* 2006-02-19 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-02-191-1/+1
| | | | | * loader2/hdinstall.c: Try to mount as ext3 also now that we have the module
* 2005-11-09 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-11-091-8/+4
| | | | | | | | | | | | | | | | | | | * loader2/driverdisk.c: Clean up log levels. * loader2/firewire.c: Likewise. * loader2/hardware.c: Likewise. * loader2/hdinstall.c: Likewise. * loader2/lang.c: Likewise. * loader2/loader.c: Likewise. * loader2/log.h: Likewise. * loader2/mediacheck.c: Likewise. * loader2/method.c: Likewise. * loader2/modstubs.c: Likewise. * loader2/modules.c: Likewise. * loader2/net.c: Likewise. * loader2/nfsinstall.c: Likewise. * loader2/pcmcia.c: Likewise. * loader2/urls.c: Likewise. * loader2/usb.c: Likewise.
* 2005-10-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-10-201-2/+2
| | | | | | | | | | | | | * anaconda.spec: Bump version. * loader2/urlinstall.c (loadUrlImages): minstg2.img instead of netstg2.img * loader2/hdinstall.c (mountHDImages): minstg2.img instead of hdstg2.img * loader2/method.c (validIsoImages): Look for stage2.img instead of hdstg2.img * scripts/mk-images: mkcramfs is now mkfs.cramfs