Jump to content

Lilo.conf modification


growler
 Share

Recommended Posts

1. I have followed the FAQ from static to set scsi emulation for my Burner and DVD reader,but find a couple of problems in 9.2. I have hdc & hdd

 

I assume the FAQ format ¨hdc=ide-scsi, hdd=ide=scsi¨ is incorrect!

 

If I use ¨hdc=ide-scsi, hdd=ide-scsi¨ I don´t get my CD Burner recognised in K3B!

 

If I use ¨hdc=ide-scsi hdd=ide-scsi¨ (no comma)...both show in Settings-->Configure-->Devices and seem to work OK.

 

2. While fumbling along in vi I managed to delete a bit of the last line.....

 

other=/dev/fd0

label=¨floppy¨

unsafe........... specifically the double quotes¨ ¨

 

After replacing and :wq & rebooting The lilo splash screen now shows...?floppy? ( with the ?´s upside down) as the last line. The added double quotes are smaller (different font? )in vi,emacs,kwrite etc

 

boot=/dev/hda

map=/boot/map

default="linux"

keytable=/boot/us-latin1.klt

prompt

nowarn

timeout=100

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz

label="linux"

root=/dev/hda1

initrd=/boot/initrd.img

append="devfs=mount hdc=ide-scsi hdd=ide-scsi acpi=ht splash=silent"

vga=788

read-only

image=/boot/vmlinuz

label="linux-nonfb"

root=/dev/hda1

initrd=/boot/initrd.img

append="devfs=mount hdc=ide-scsi acpi=ht"

read-only

image=/boot/vmlinuz

label="failsafe"

root=/dev/hda1

initrd=/boot/initrd.img

append="devfs=nomount hdc=ide-scsi acpi=ht failsafe"

read-only

other=/dev/fd0

label=¨floppy¨

unsafe

 

Any thoughts?

Link to comment
Share on other sites

Yes, the problem is with that quotes. If I copy and paste here your lilo.conf, I get this interesting thing in the last lines:

 

...
other=/dev/fd0
label=šfloppyš
unsafe

 

as you can see your editor, which ever it was, introduced some 'non standard' quotes, and I'm quite sure the problem is that; all the other 'laber="something"' pairs are OK. If you can't type a 'normal' double quote (probably a locale - related missconfiguration problem) just copy another label string with quotes and replace the word quoted with 'floppy'. ie, in vim command mode this will be:

 

:24t29
:31d
:30s/failsafe/floppy
:wq

 

ofcourse run /sbin/lilo

Edited by aru
Link to comment
Share on other sites

aru,

Thank you for the reply. I´m sorry I don´t understand your vim instructions.

I have tried both emacs & vi to change the ¨ ¨.... both need double keystrokes.. ( Just like the forum window to get ¨,´,~ etc )

 

I will try to copy/paste in kwrite and let you know how it goes.. Thanks

Link to comment
Share on other sites

Success,

 

But very very strange!. The only text/type of program that I could get to accept the (shift)/single keystroke was kword. I copy/pasted "floppy" into lilo.conf in emacs. {ctrl}-x -c and lilo -v and all was well . :headbang:

Now ...even single keystrokes work in this forum :screwy:

 

Thanks again aru... think I need another drink !

Edited by growler
Link to comment
Share on other sites

Hi growler.

I'm having problem with my " (double quotes) and ' (quote) keys too.

I generally use my (wifes) Xp box (it has a 19in monitor) for most of my web browsing etc. But if I use my mdk9.2 box and use those keys the appear like yours do. :unsure:

I have to hit them twice for them to work too.

This caught me out once where I was editing a config file and this file depended on the " for correct operation. It took me some time to figure it out, and traced it to the strange way that the keyboard inputs those keys.

I'm using mdk9.2 and an MS wireless keyboard-mouse combo.

What's your hardware?

Another thing I did was to either use Windows software to create a new file for the correct " or to cut and paste the quotes from somewhere else, as Aru said.

I still have not resolved my problem.

Link to comment
Share on other sites

arthurking

 

Cheap 'n nasty keyboard for me here.(The only markings say ...Made in China )If you see my last post.. after using a "real" word processor all is now well ... even to reply here.

Some things are just weird!

Link to comment
Share on other sites

Yeah tried that.

like you said, too off topic. I was going to post about this prob, its annoying, but not enough to worry. My computers are set up, one in front of me(winXP) and linux on my right. Because windows is in front (She! who must be obeyed says so) its easier to type with this.

So poor tux comes off second best here. :help:

Can't wait to get my new shed built. :thumbs:

 

anyhow I'll see ya.

Link to comment
Share on other sites

I'm at work now, but the same quote problem bit me too, and still bites.

 

I do know how to work around it:

hit the " key twice, and you get these quotes (thinner): ¨

hit the " key once and then the spacebar, and you get these quotes: "

This works in all text editors (vi etc), on the command line etc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...