Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-13-2003, 08:35 AM
|
#16
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
You can open it anyway you'd like, here's generic instructions that should work on any setup:
cat /etc/lilo.conf
Hightlight and paste the config here by clicking with your middle mouse button (or if you don't have one, both mouse buttons at once).
Cool
|
|
|
07-13-2003, 09:54 AM
|
#17
|
Member
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105
Original Poster
Rep:
|
troy@slackware:~$ cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hde
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdf5
label = LinuxAndShit
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hde1
label = Winblows
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hde
# DOS bootable partition config ends
|
|
|
07-14-2003, 07:29 AM
|
#18
|
Member
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105
Original Poster
Rep:
|
so do we not know the solution to my problem?
|
|
|
07-14-2003, 07:57 AM
|
#19
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
I don't. Wait for da Masta(C) .
|
|
|
07-14-2003, 08:09 AM
|
#20
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Thanks for the bump(s) I didn't see this yesterday
Ok, so it looks like you don't have the append line in there, let's make it global, so just below timeout enter:
append="hdb=ide-scsi"
To do this with vi, type, put your cursor on the timeout line and then type:
Code:
o append="hdb=ide-scsi"
The space between o and the append statement is only to show the different commands, but for you the o and append should be together, so looking at your keys would look like this:
Code:
oappend="hdb=ide-scsi"
But looking at the screen you'll see that the o starts a new line and puts you in edit mode in vi. So now we just need to save and exit, easiest way in vi is:
SHIFT plus ZZ and that's it. It'll save and exit. Then we need to rerun lilo to save the changes to the MBR so:
/sbin/lilo -v
And watch for any errors, if you see one, post it up.
Reboot, if there are no errors, and then:
cdrecord -scanbus (as root)
and see if your drive gets detected this time.
Cool
|
|
|
07-14-2003, 09:36 AM
|
#21
|
Member
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105
Original Poster
Rep:
|
ok 3 things. im not really sure how to edit it. and i dont know what vi is either. and its both my drives that wont detect. main cdrom dirve and Cdburner. i was mainly focusing on the burner. because i dont need to copy any cds as of yet. thx
|
|
|
07-14-2003, 12:31 PM
|
#22
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
vi is a text editor. You don't have to use vi, but it's just universal and I've been doing my best lately to not be distro specific. You can use any text editor you'd like to add that line. Any. So if you can get into a gui, you can use gedit, kwrite, kate... in the command line you can use joe, nano, pico, vim...
If you wanted to you could probably even use OpenOffice
Yeah, this will only set it up for the burner for now (your burner is the CR-48X5TE and not the Samsung correct?). We need to make sure that works before moving on
Cool
|
|
|
07-14-2003, 03:40 PM
|
#23
|
Member
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105
Original Poster
Rep:
|
# Start LILO global section
boot = /dev/hde
#compact # faster, but won't work on all systems.
prompt
timeout = 300
append="hdb=ide-scsi"
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdf5
label = LinuxAndShit
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hde1
label = Winblows
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hde
# DOS bootable partition config ends
Before i save and screw up my boot up i want to make sure this is right?
|
|
|
07-14-2003, 09:36 PM
|
#24
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Looks good to me
Save it, run lilo and reboot. We may end up moving it if it won't work globally, but we won't know until it's tested.
Cool
|
|
|
07-15-2003, 11:57 AM
|
#25
|
Member
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105
Original Poster
Rep:
|
WAHOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!! it worked. now for the main drive....do i do the same just below the other one? with hda=ide-scsi?
|
|
|
07-16-2003, 01:18 AM
|
#26
|
Member
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105
Original Poster
Rep:
|
blah bumping this for you MasterC
|
|
|
07-16-2003, 04:28 AM
|
#27
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
Quote:
Originally posted by BmxFace
...do i do the same just below the other one? with hda=ide-scsi?
|
Sure. Worst case is that hda doesn't work.
If I remember correctly (I use GRUB) LILO displays a boot-up screen, where you can interrupt the boot process (<F2> in KNOPPIX) to type in options. You can type in exactly the same (append="hda=ide-scsi"), and it should work without the need to edit -- which you can still do later.
|
|
|
07-16-2003, 04:39 AM
|
#28
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Glad you know you can see I need the bumbs
Yes, that should do it (assuming you have your other drive on your Primary Channel and marked as Master).
After you make the change remember to run:
/sbin/lilo -v
To save the changes.
So the line will read:
append="hda=ide-scsi hdb=ide-scsi"
Be aware, you will need to recreate symlinks to:
/dev/dvd
/dev/cdrom
And possibly:
/dev/cdrw
/dev/cdrecorder
To the new devices (probably scd0 and scd1 respectively).
Cool
|
|
|
07-16-2003, 11:04 AM
|
#29
|
Member
Registered: Jun 2003
Location: Minnesota
Distribution: Arch Linux :D
Posts: 105
Original Poster
Rep:
|
Be aware, you will need to recreate symlinks to:
/dev/dvd
/dev/cdrom
And possibly:
/dev/cdrw
/dev/cdrecorder
aha what do you mean by that? k3b is now detect both of my Drives verry nice...and i thank you for all your help!*loves linux*
|
|
|
07-16-2003, 12:34 PM
|
#30
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
You're welcome.
Your symlinks are going to pointing to /dev/hdb and /dev/hda respectively. Your devices are no longer known as this, but rather scd0 and scd1 because of the scsi emulation. You will need to recreate the symlinks to show this new device so applications that use "/dev/cdrom" and "/dev/dvd" can properly find them. To create (or recreate) symlinks, use this format:
ln -sf /dev/scdX /dev/cdrom
And so on, where X is the device that is your main cdrom (scd1 or scd0 likely use 'eject scd0 and eject scd1 to find out which is which, you can also grep your dmesg:
dmesg | grep scd*
And look for your scd0/1 drives and which is which )
Cool
|
|
|
All times are GMT -5. The time now is 10:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|