grub install oracle linux on linux

firstly you should have the dvd iso file in some of the partition on the existing linux server , for me its in /dev/hda2 ,note : don't change the file name.
mount -t iso9660 /iso/Enterprise-R5-U6-Server-i386-dvd.iso /mnt -o loop
cp -r /mnt/isolinux /iso
now I have all files need to boot the oracle linux.
vi /boot/grub/grub.conf, choose the menu you can start the install 
add following line into the file:
title oraclelinux install
root    (hd0,1)
kernel /isolinux/vmlinuz
initrd /isolinux/initrd.img
or just manully type the grub command 
grub> root (hd0,1)        
grub> kernel /isolinux/vmlinuz
grub> initrd /isolinux/initrd.img
grub> boot
 
also , I'm using an laptop and I have a pc installed the linux , I need to use wireless interface to access the internet , using the local interface to visit the linux , how could I? 
 
1.move the wireless interface to the upmost. 
2.add a route for the priviate network address.
 
H:\>route add 192.168.3.0 mask 255.255.255.0 192.168.3.2 metric 40
 
 
H:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 50 56 c0 00 08 ...... VMware Virtual Ethernet Adapter for VMnet8
0x3 ...00 50 56 c0 00 01 ...... VMware Virtual Ethernet Adapter for VMnet1
0x4 ...44 45 53 54 42 00 ...... Nortel IPSECSHM Adapter - Packet Scheduler Miniport
0x5 ...00 21 6a ae b1 6c ...... Intel(R) WiFi Link 5300 AGN - SecuRemote Miniport
0x6 ...00 26 b9 b7 e9 60 ...... Intel(R) 82567LM Gigabit Network Connection - SecuRemote Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0       10.35.48.3    10.35.48.233       25
       10.35.48.0    255.255.252.0     10.35.48.233    10.35.48.233       25
     10.35.48.233  255.255.255.255        127.0.0.1       127.0.0.1       25
   10.255.255.255  255.255.255.255     10.35.48.233    10.35.48.233       25
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0      192.168.0.2     192.168.0.2       20
      192.168.0.2  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.255  255.255.255.255      192.168.0.2     192.168.0.2       20
      192.168.1.0    255.255.255.0      192.168.1.2     192.168.1.2       20
      192.168.1.2  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.1.255  255.255.255.255      192.168.1.2     192.168.1.2       20
      192.168.3.0    255.255.255.0      192.168.3.2    192.168.3.11       40
     192.168.3.11  255.255.255.255        127.0.0.1       127.0.0.1       10
    192.168.3.255  255.255.255.255     192.168.3.11    192.168.3.11       10
        224.0.0.0        240.0.0.0     10.35.48.233    10.35.48.233       25
        224.0.0.0        240.0.0.0      192.168.0.2     192.168.0.2       20
        224.0.0.0        240.0.0.0      192.168.1.2     192.168.1.2       20
        224.0.0.0        240.0.0.0     192.168.3.11    192.168.3.11       10
  255.255.255.255  255.255.255.255     10.35.48.233    10.35.48.233       1
  255.255.255.255  255.255.255.255      192.168.0.2     192.168.0.2       1
  255.255.255.255  255.255.255.255      192.168.0.2               4       1
  255.255.255.255  255.255.255.255      192.168.1.2     192.168.1.2       1
  255.255.255.255  255.255.255.255     192.168.3.11    192.168.3.11       1
Default Gateway:        10.35.48.3
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0       10.35.48.3      25
 
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值