从光盘中安装RedHat Enterprise Linux 5.4 的补充光盘

 [root@localhost edgen]# mount /dev/cdrom /mnt/cdrom

mount: mount point /mnt/cdrom does not exist

[root@localhost edgen]# mkdir /mnt/cdrom

[root@localhost edgen]# ll /mnt

total 16

drwxr-xr-x 2 root root 4096 Dec 25 18:57 cdrom

drwxr-xr-x 2 root root 4096 Dec 25 14:36 hgfs

[root@localhost edgen]# mount /dev/cdrom /mnt/cdrom

mount: block device /dev/cdrom is write-protected, mounting read-only

[root@localhost edgen]# cd /mnt/cdrom

[root@localhost cdrom]# ll

total 50

-r-xr-xr-x 3 edgen root   266 Aug  7  2008 autorun

-r--r--r-- 2 edgen root  8445 Sep  2  2008 EULA

-r--r--r-- 2 edgen root 18416 Nov 30  2006 GPL

dr-xr-xr-x 2 edgen root  2048 Aug 28  2009 repodata

-r--r--r-- 2 edgen root  1175 Dec 15  2008 RPM-GPG-KEY-redhat-auxiliary

-r--r--r-- 2 edgen root  1706 Dec 15  2008 RPM-GPG-KEY-redhat-beta

-r--r--r-- 2 edgen root  1990 Dec 15  2008 RPM-GPG-KEY-redhat-former

-r--r--r-- 2 edgen root  1164 Dec 15  2008 RPM-GPG-KEY-redhat-release

-r--r--r-- 2 edgen root   885 Dec 15  2008 RPM-GPG-KEY-redhat-rhx

dr-xr-xr-x 2 edgen root  2048 Aug 28  2009 SRPMS

dr-xr-xr-x 3 edgen root  8192 Aug 28  2009 Supplementary

-r--r--r-- 1 edgen root  2717 Aug 28  2009 TRANS.TBL

[root@localhost cdrom]# ./autorun

Loaded plugins: rhnplugin

This system is not registered with RHN.

RHN support will be disabled.

/usr/lib/python2.4/site-packages/pirut/Progress.py:91: GtkWarning: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed

  self.pbar.set_fraction(fract)



 

[root@localhost cdrom]# reboot

猜你喜欢

转载自edgenhuang.iteye.com/blog/852139