Final notes. Successful boot.
This commit is contained in:
@@ -87,8 +87,8 @@ insmod ext2
|
|||||||
set root=(hd0,3)
|
set root=(hd0,3)
|
||||||
|
|
||||||
menuentry "GNU/Linux, Linux 6.10.5-lfs-12.2" {
|
menuentry "GNU/Linux, Linux 6.10.5-lfs-12.2" {
|
||||||
linux /boot/vmlinuz-6.10.5-lfs-12.2 root=/dev/sda3 ro
|
linux /boot/vmlinuz-6.10.5-lfs-12.2 root=/dev/sdb3 ro
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
**NOTE:** We are using a two disks VM, where the second disk was used for LFS partitions.
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ bash /usr/lib/udev/init-net-rules.sh
|
|||||||
We need to setup the anticipated network interface.
|
We need to setup the anticipated network interface.
|
||||||
```
|
```
|
||||||
cd /etc/sysconfig/
|
cd /etc/sysconfig/
|
||||||
cat > ifconfig.eth0 << "EOF"
|
cat > ifconfig.ens18 << "EOF"
|
||||||
ONBOOT=yes
|
ONBOOT=yes
|
||||||
IFACE=eth0
|
IFACE=ens18
|
||||||
SERVICE=ipv4-static
|
SERVICE=ipv4-static
|
||||||
IP=192.168.2.250
|
IP=192.168.2.250
|
||||||
GATEWAY=192.168.2.1
|
GATEWAY=192.168.2.1
|
||||||
|
|||||||
Reference in New Issue
Block a user