Boot in rescue mode and launch a command??

Tedman Eng teng at dataway.com
Mon Aug 29 18:14:04 UTC 2005


Add "nomount" to your kernel append line.

nomount         Don't automatically mount any installed Linux partitions 
                in rescue mode.


Found docs mirrored online here:
http://docs.rage.net/system/anaconda-9.0/command-line.txt




> -----Original Message-----
> From: Alberto [mailto:xagonzalezm at gmail.com]
> Sent: Sunday, August 28, 2005 10:42 AM
> To: kickstart-list at redhat.com
> Subject: Boot in rescue mode and launch a command??
> 
> 
> Hi,
> 
> I am trying to create a ks.cfg file to boot into rescue mode. I get
> everything ok until it ask me last question about if I want to look
> for hd and mount it. I want to Skip it automatically and then go to
> shell prompt and launch a command. How can I add that to the ks.cfg
> file?? This is my ks file:
> 
> 
> 
> $ cat wbel4-rescue-ks.cfg
> # Kickstart configuration file RHEL/WBEL 4 Rescue Mode
> #
> #System  language
> #
> lang en_US.UTF-8
> #
> #Language modules to install
> #
> langsupport --default=en_GB.UTF-8 en_GB.UTF-8
> #
> #System keyboard
> #
> keyboard uk
> #
> #System mouse
> #
> mouse none
> #
> #Retrieve rescue system from NFS
> #
> nfs --server=XX.XX.XX.XX --dir=/whitebox/4/en/os/i386
> #
> #Network information
> #
> network --bootproto=dhcp
> 
> 
> 
> And /tftpboot/linux-install/pxelinux.cfg/default
> 
> label 3
>  kernel wbel4/vmlinuz
>  append initrd=wbel4/initrd.img ramdisk_size=10000 text rescue
> ks=nfs:XX.XX.XX.XX:/kickstart/wbel4-rescue-ks.cfg
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 




More information about the Kickstart-list mailing list