Changing the Root problems
I got an error
Quote:
Cannot change root directory to mnt/hda1: Operation not permitted
I am assuming I havn't got "Administrators Access" but I have no idea how to get it considering I never entered a password into Linux anywhere! :?
Please advise.
Prblems with hdinstall and the number 99
Well, I searched on this site and found how to make a root password to gain the full access. I then proceeded to do the following commands
Quote:
sudo mount /dev/hda1 /mnt/hda1
chroot /mnt/hda1
/sbin/lilo -v
I received this error on the /sbin/lilo
Quote:
Unrecognized token "! Please edit etc/lilo.conf before running lilo !" At or above line 20 in file 'etc/lilo.conf'
Here is everything from line 1 to 20 inclusive. I'm not too sure how to edit this file because I have no orientation to where anything is with this whole ramdisk this, cdrom that, mount the other... but here goes:
Quote:
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# --------------- `install-mbr(8)', `/usr/share/doc/lilo/',
# and `/usr/share/doc/mbr/'.
# Remove this line when you are done configuring. -KK
"! Please edit /etc/lilo.conf before running lilo!"
# +---------------------------------------------------------------+
# | !! Reminder !! |
# | |
# | Don't forget to run `lilo' after you make changes to this |
# | conffile, `/boot/bootmess.txt', or install a new kernel. The |
# | computer will most likely fail to boot if a kernel-image |
# | post-install script or you don't remember to run `lilo'. |
# | |
# +---------------------------------------------------------------+
# Support LBA for large hard disks.
#
lba32
Thanks in advance. I am weary of my unexperience and have come close to exploding at this a few times now. Your help is much appreciated.
Ps> It was a bugger of a thing getting this stupid text on a disk! apparently I needed to CTRL+Z the program 'less' for it to update the terminal window with the text I wanted... Go on, have a laugh at my expense... My shout.
Re: Prblems with hdinstall and the number 99
Quote:
Unrecognized token "! Please edit etc/lilo.conf before running lilo !" At or above line 20 in file 'etc/lilo.conf'
Quote:
# Remove this line when you are done configuring. -KK
"! Please edit /etc/lilo.conf before running lilo!"
There is no comment ( # ) in front of the line starting with "!Please.
Just edit the file and remove the entire line or put the comment ( # ) there save the file and then run lilo again with the chroot command. eg. from the cd boot.
Code:
sudo mount /dev/hda1 /mnt/hda1
sudo gvim /mnt/hda1/etc/lilo.conf
[edit]
Then you would sudo chroot /mnt/hda1 /sbin/lilo -v
[/edit]