Description of problem: Put a fedora bootable disk to start installation,in grub command line,modify "stage2=hd:LABEL=Fedora" to customized stage2 like: "stage2=http://tree/os", boot to install, the customized stage2 does not work, it still links to local CD "url: cdrom:///dev/sr0:/mnt/stage2". if use "askmethod" argument to boot, select URL to provide stage2 location, it will download install.img Version-Release number of selected component (if applicable): anaconda of f13 ga How reproducible: 100% more details,see the following log: 06:36:05,961 INFO loader: kernel command line: initrd=initrd.img stage2=http://mirrors.163.com/fedora/releases/13/Fedora/i386/os ks=http://10.66.65.92/ks.cfg BOOT_IMAGE=vmlinuz 06:36:05,961 DEBUG loader: no ifcfg files found in /etc/sysconfig/network-scripts 06:36:05,961 INFO loader: anaconda version 13.42 on i386 starting 06:36:06,023 INFO loader: 676532 kB are available 06:36:06,114 ERROR loader: removing ddmode.conf failed 06:36:06,117 DEBUG loader: probing buses 06:36:06,351 DEBUG loader: waiting for hardware to initialize 06:36:07,378 INFO loader: getting kickstart file 06:36:07,383 INFO loader: only have one network device: eth0 06:36:07,383 INFO loader: doing kickstart... setting it up 06:36:07,384 DEBUG loader: configuring device eth0 06:36:16,393 INFO loader: get_connection (2098): NetworkManager connected 06:36:16,394 INFO loader: file location: http://10.66.65.92/ks.cfg 06:36:16,394 INFO loader: transferring http://10.66.65.92/ks.cfg 06:36:16,787 INFO loader: setting up kickstart 06:36:16,787 INFO loader: kickstartFromCD 06:36:16,787 INFO loader: kickstart forcing text mode 06:36:16,793 INFO loader: trying to mount CD device /dev/sr0 on /mnt/stage2 06:36:16,794 INFO loader: drive status is CDS_DISC_OK 06:36:16,826 INFO loader: mounted loopback device /mnt/runtime on /dev/loop0 as /mnt/stage2/images/install.img 06:36:16,826 INFO loader: Looking for updates in /mnt/stage2/images/updates.img 06:36:16,826 INFO loader: Looking for product in /mnt/stage2/images/product.img 06:36:16,826 INFO loader: Detected stage 2 image on CD (url: cdrom:///dev/sr0:/mnt/stage2) 06:36:19,827 DEBUG loader: going to set language to en_US.UTF-8 06:36:19,827 INFO loader: setting language to en_US.UTF-8 06:36:19,893 INFO loader: stage2 url is cdrom:///dev/sr0:/mnt/stage2 06:36:19,964 INFO loader: Loading SELinux policy 06:36:20,389 INFO loader: getting ready to spawn shell now 06:36:20,701 INFO loader: Running anaconda script /usr/bin/anaconda 06:36:22,879 WARNING anaconda: /usr/lib/python2.6/site-packages/pykickstart/parser.py:733: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax. warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning) 06:36:22,960 INFO anaconda: ISCSID is /usr/sbin/iscsid 06:36:22,960 INFO anaconda: no initiator set 06:36:23,070 INFO anaconda: no /tmp/fcpconfig; not configuring zfcp 06:36:23,084 INFO anaconda: created new libuser.conf at /tmp/libuser.aWDzmx with instPath="" 06:36:23,300 INFO anaconda: created new libuser.conf at /tmp/libuser.oR7iDM with instPath="/mnt/sysimage" 06:36:23,302 INFO anaconda: anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'cdrom:///dev/sr0:/mnt/stage2', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux'] 06:36:23,302 INFO anaconda: Display mode = t 06:36:23,305 INFO anaconda: Default encoding = utf-8 06:36:23,307 INFO anaconda: running "ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -C -N " 06:36:23,928 INFO anaconda: running "ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C -N " 06:36:24,514 INFO anaconda: using only installclass _Fedora 06:36:24,531 INFO anaconda: Detected 672M of memory 06:36:24,531 INFO anaconda: Swap attempt of 672M to 1344M 06:36:24,641 INFO anaconda: ISCSID is /usr/sbin/iscsid 06:36:24,642 INFO anaconda: no initiator set 06:36:25,106 INFO anaconda: running "ssh-keygen -q -t rsa1 -f /etc/ssh/ssh_host_key -C -N " 06:36:25,586 INFO anaconda: Detected 672M of memory 06:36:25,586 INFO anaconda: Swap attempt of 672M to 1344M 06:36:25,587 WARNING anaconda: step installtype does not exist 06:36:25,587 WARNING anaconda: step confirminstall does not exist 06:36:25,587 WARNING anaconda: step complete does not exist 06:36:25,588 WARNING anaconda: step complete does not exist 06:36:25,588 WARNING anaconda: step complete does not exist 06:36:25,589 WARNING anaconda: step complete does not exist 06:36:25,589 WARNING anaconda: step complete does not exist 06:36:25,589 WARNING anaconda: step complete does not exist 06:36:25,590 INFO anaconda: moving (1) to step setuptime 06:36:25,591 DEBUG anaconda: setuptime is a direct step 06:36:26,001 INFO anaconda: leaving (1) step setuptime 06:36:26,001 INFO anaconda: moving (1) to step autopartitionexecute 06:36:26,002 DEBUG anaconda: autopartitionexecute is a direct step 06:36:26,149 INFO anaconda: leaving (1) step autopartitionexecute 06:36:26,150 INFO anaconda: moving (1) to step storagedone 06:36:26,150 DEBUG anaconda: storagedone is a direct step 06:36:26,150 INFO anaconda: leaving (1) step storagedone 06:36:26,151 INFO anaconda: moving (1) to step enablefilesystems 06:36:26,151 DEBUG anaconda: enablefilesystems is a direct step 06:36:27,446 DEBUG anaconda: notifying kernel of 'change' event on device /sys/class/block/vda1 06:36:27,862 DEBUG anaconda: notifying kernel of 'change' event on device /sys/class/block/vda2 06:36:31,762 DEBUG anaconda: notifying kernel of 'change' event on device /sys/class/block/dm-0 06:36:32,337 INFO anaconda: failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported 06:36:32,337 DEBUG anaconda: isys.py:mount()- going to mount /dev/mapper/VolGroup-lv_root on /mnt/sysimage as ext4 with options defaults 06:36:32,353 DEBUG anaconda: isys.py:mount()- going to mount /dev/vda1 on /mnt/sysimage/boot as ext4 with options defaults 06:36:32,368 DEBUG anaconda: isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind 06:36:32,375 DEBUG anaconda: isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620 06:36:32,381 DEBUG anaconda: isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults 06:36:32,387 INFO anaconda: failed to get default SELinux context for /proc: [Errno 2] No such file or directory 06:36:32,388 DEBUG anaconda: isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults 06:36:32,390 INFO anaconda: failed to get default SELinux context for /proc: [Errno 2] No such file or directory 06:36:32,393 INFO anaconda: failed to get default SELinux context for /sys: [Errno 2] No such file or directory 06:36:32,394 DEBUG anaconda: isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults 06:36:32,399 INFO anaconda: failed to get default SELinux context for /sys: [Errno 2] No such file or directory 06:36:32,401 INFO anaconda: leaving (1) step enablefilesystems 06:36:32,401 INFO anaconda: moving (1) to step bootloadersetup 06:36:32,401 DEBUG anaconda: bootloadersetup is a direct step 06:36:32,404 INFO anaconda: leaving (1) step bootloadersetup 06:36:32,404 INFO anaconda: moving (1) to step reposetup 06:36:32,405 DEBUG anaconda: reposetup is a direct step 06:36:32,406 INFO anaconda: failed to set SELinux context for /mnt/source: [Errno 95] Operation not supported 06:36:32,407 DEBUG anaconda: isys.py:mount()- going to mount /dev/sr0 on /mnt/source as iso9660 with options ro 06:36:32,411 INFO anaconda: failed to set SELinux context for /mnt/source: [Errno 30] Read-only file system 06:36:32,413 INFO anaconda: found installation media on sr0 06:36:32,539 INFO anaconda: set mediaid of repo InstallationRepo to: 1273712438.740122 06:36:34,820 INFO anaconda: leaving (1) step reposetup 06:36:34,820 INFO anaconda: moving (1) to step basepkgsel 06:36:34,820 DEBUG anaconda: basepkgsel is a direct step 06:36:35,243 INFO anaconda: leaving (1) step basepkgsel 06:36:35,244 INFO anaconda: moving (1) to step postselection 06:36:35,244 DEBUG anaconda: postselection is a direct step 06:36:35,246 INFO anaconda: selected kernel-PAE package for kernel 06:36:39,900 INFO anaconda: leaving (1) step postselection 06:36:39,901 INFO anaconda: moving (1) to step reipl 06:36:39,901 DEBUG anaconda: reipl is a direct step 06:36:39,901 INFO anaconda: leaving (1) step reipl 06:36:39,902 INFO anaconda: moving (1) to step install 06:36:39,905 INFO anaconda: leaving (1) step install 06:36:39,905 INFO anaconda: moving (1) to step preinstallconfig 06:36:39,905 DEBUG anaconda: preinstallconfig is a direct step 06:36:39,924 INFO anaconda: Backend logger started. 06:36:39,926 DEBUG anaconda: isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults 06:36:39,928 DEBUG anaconda: isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults 06:36:39,939 INFO anaconda: leaving (1) step preinstallconfig 06:36:39,939 INFO anaconda: moving (1) to step installpackages 06:36:39,940 DEBUG anaconda: installpackages is a direct step 06:36:39,940 INFO anaconda: Preparing to install packages 06:36:39,941 INFO anaconda: transferring install image to install target 06:36:49,282 DEBUG anaconda: isys.py:umount()- going to unmount /mnt/stage2, removeDir = True
The presence of a CD in the drive takes precedence over the command line arguments. This is working as designed.