I'm not sure I understand why you're doing this?
Quote:
i tried to ( mkdir /mnt/hd > mount /dev/hda5 /mnt/hd > cd /mnt/hd > chroot /mnt/hd > lilo ) And it gives me an error like :
|
you haven't really explained what the 'lilo problem' is, unless I've missed something. Are you booting a live/install cd to install lilo? (because it failed to write properly during install?)
if so the sequence should go:
1. boot cd
2. mkdir myroot # don't put it in /mnt
3. mount -t <your fs type> /dev/hda5 ./myroot
4. chroot ./myroot /bin/bash
5. edit lilo.conf as needed
6. /sbin/lilo -v
7. reboot # (finger crossing optional)
your lilo.conf seems screwed up.
Code:
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 1200
<snip>
# Windows bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root =
label = Linux
read-only
# Linux bootable partition config ends
do you see the inconsistency? your boot device is listed as /dev/
sda but fdisk is telling you (and the windows partition) is identified as /dev/
hda
you also must specify the root location of your linux install.
I would change to this:
Code:
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
<snip>
# Windows bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda5
label = Linux
read-only
# Linux bootable partition config ends
hth, if I've misinterpreted the problem, please repost with more details on the lilo issue.
#2 -
ifconfig <interface> hw ether <address>
here interface for you is likely 'eth0' or 'wlan0' for wired/wireless respectively. try 'man ifconfig' if you still have troubles.
-ed- sorry missed one:
Quote:
And should i change any file as slackware 11 to start slackware with x ( with KDE i mean ) when computer starts ?
|
as root vi /etc/inittab and change:
Code:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
to
Code:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault: