View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Jan 17, 2005 1:55 am 
Offline
Joined: Thu Jan 13, 2005 10:54 pm
Posts: 11
i had an issue when i installed knoppmyth for the first time:

whenever i rebooted after doing a manual or automatic install i would get nothing but a blinking cursor

i found out that the install script had an error in my lilo.conf
something along the lines of : part 7: and then something about my second ide drive (windows)

how i fixed it:

1: boot off knoppmyth cd
2: when knoppmyth boots exit to shell
3: mount your installation partition (mine was /dev/hda1)
Code:
mount /dev/hda1 /mnt/hda1

4: chroot to your installation
Code:
chroot /mnt/hda1 /bin/bash

5: edit your lilo.conf
Code:
vi /etc/lilo.conf

6: find the line that is wrong.
it might be different on your system but it was the third line on mine
when you find the line comment it out and save
7: run lilo to update your MBR
Code:
/sbin/lilo
(itll output something like this)
*knoppmyth
winnt

8: exit chroot , unmount, reboot
Code:
 # exit
that will drop you to your knoppmyth cd shell
 #umount /mnt/hda1
unmounts the drive
 #reboot


then it should work if you have any problems with it.. post


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 04, 2005 1:39 pm 
Offline
Joined: Sun Sep 04, 2005 1:32 pm
Posts: 6
I was going along with this fine- until my lack of Linux knowledge stopped me cold....
I need more explanation of what you did to actually edit your lilo config...
I'm a lintard.....
after step 5, I don't know what to do.... I'm not actually sure of what I'm looking at when it prints the lilo config and how to comment out and so forth so I'm stuck....


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 04, 2005 9:58 pm 
Offline
Joined: Sun Sep 04, 2005 9:46 pm
Posts: 6
Frankenchrist wrote:
I was going along with this fine- until my lack of Linux knowledge stopped me cold....
I need more explanation of what you did to actually edit your lilo config...
I'm a lintard.....
after step 5, I don't know what to do.... I'm not actually sure of what I'm looking at when it prints the lilo config and how to comment out and so forth so I'm stuck....


vi is a UNIX/Linux text file editor. You can probably find a quick reference for the commands online, they are one-key presses that can be kinda cryptic but you get used to it and come to love vi (maybe not ;-)) after a while.

I ran into this same problem this week on my first install. Here's a way I fixed it without using vi, your mileage may vary. Rather than use vi in step 5:

cp /etc/lilo.conf /etc/lilo.conf.orig
sed '/^part:/d' /etc/lilo.conf.orig >/etc/lilo.conf
lilo
reboot

Those commands accomplish the same thing but avoid having to use the vi editor. The first command makes a copy of the original (broken) lilo.conf file. sed is a stream editor, that particular line matches the problem line in the original file and deletes it, the rest of the file is passed into a new lilo.conf file. Finally you run lilo to rewrite the MBR and reboot. Hope this helps!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu