LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-21-2003, 08:45 AM   #16
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30

im going to a movie il be back later
 
Old 04-21-2003, 08:48 AM   #17
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Delete the section labeled "Linux_Compiled", all four lines. Then try again. Obviously this does not exist.
 
Old 04-21-2003, 09:18 AM   #18
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
now this comes
Configuration NOT ok. LILO said:
LILO version 22.4.1 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2002 John Coffman
Released 27-Jan-2003 and compiled at 19:45:45 on Mar 9 2003.
Warning: LBA32 addressing assumed
Reading boot sector from /dev/hda
Using MENU secondary loader
Calling map_insert_data
Boot image: /boot/vmlinuz
Added vmlinuz *
Boot image: /boot/vmlinuz-ide-2.4.20
Added 2.4.20
Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Added NT
Boot other: /dev/hdb1, on /dev/hdb, loader CHAIN
Fatal: Duplicate label "NT"
 
Old 04-21-2003, 09:27 AM   #19
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Then change the second "NT" label to "NT2"
 
Old 04-21-2003, 02:08 PM   #20
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
ok now the lilo is okey but what shall i do next is the prob solved
 
Old 04-21-2003, 02:11 PM   #21
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
i still get the message that its not a valid block device

here is my lilo.conf (when i check it it is okey)

boot="/dev/hda"
prompt
timeout="10"
append = "cdrom=ide-scsi"

image="/boot/vmlinuz"
label="vmlinuz"
root="/dev/hda2"
read-only

image=/boot/vmlinuz-ide-2.4.20
label="2.4.20"
root=/dev/hda2
read-only

other=/dev/hda1
label="NT"

other=/dev/hdb1
label="NT2"
 
Old 04-21-2003, 02:34 PM   #22
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
when i type lsmod (as super user)
ide-scsi is listed

but the brop now is mounting
and i dont now if the cdrom is hdc or hdb i think it is /dev/cdrom but i cant mount that beacause when i do
the message about its not a valid boot device
 
Old 04-21-2003, 02:41 PM   #23
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
after i edited the lilo.conf and it turned out alright exept mounting the resolution is much smaller and the penguin at start up is gone

what shall i do with the mounting and the penguin and the resolution
 
Old 04-21-2003, 04:41 PM   #24
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
The framebuffer device needs a line in lilo.conf that states;

vga=791

At least that is for 1024x768x65k color depth. I do not know what you had before because the lilo.conf that you posted did not have that line at all.

Where did you come up with that append statement? It should not state anything regarding "cdrom=". It should be as follows;

append = "hdd=ide-scsi"
or
append = "hdc=ide-scsi"
or
append = "hdb=ide-scsi"

You have to use the one that is correct for your configuration.

After the changes are made then "lilo" again to write the new boot record. and reboot.

Post back and we will see what is working, etc.

Last edited by Excalibur; 04-21-2003 at 07:06 PM.
 
Old 04-21-2003, 06:49 PM   #25
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
/dev/cdrom is a link to the correct device (well, its supposed to be) so you could try
Code:
ls -l /dev/cdrom
and it should return something along the lines of
Code:
lrwxrwxrwx    1 root     root            8 Apr 17 12:59 /dev/cdrom -> /dev/hdc
Its this hdc which needs to be in the append (as Excalibur and I have both said) and then it should all be working. Once that's done, you'll need to alter where the /dev/cdrom link points since the kernel will no longer think of the cdrom being at /dev/hdc, it will think of it as being at /dev/scd0 instead. Don't alter the append line, its this which causes the renaming as is needed, but you will need to alter the /dev/cdrom link and /etc/fstab possibly.

HTH

Alex
 
Old 04-22-2003, 03:27 AM   #26
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
when i wrote the code you sendt me webtoe it was hdc1
and i changed from cdrom hdc1 but when i try to mount i get
the message that hdc1 is not in fstab should i
switch from cdrom to hdc1 in fstab
???


The vga is now working fine
 
Old 04-22-2003, 03:42 AM   #27
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Killi, the correct name is hdc, the numbers are only for partitions on hard drives. Once you have a correct lilo.conf (don't forget to run lilo after changing lilo.conf), reboot and login, then do "dmesg | grep scsi", and look for something like the following,
Code:
bern@grendel bern$ dmesg | grep scsi
Kernel command line: BOOT_IMAGE=slackware ro root=302 hdd=ide-scsi
ide_setup: hdd=ide-scsi
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Make note of the last line, /dev/sr0 is my cdrw.
The next step is to link your scsi emulated cdrw to /dev/cdrom, first we remove the cdrom entry "rm /dev/cdrom", then we link the new device (sr0 in my case) with "ln -s /dev/sr0 /dev/cdrom".
You should now be able to mount your cds.
 
Old 04-22-2003, 03:57 AM   #28
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
Kernel command line: BOOT_IMAGE=vmlinuz ro root=302 hdc=ide-scsi
ide_setup: hdc=ide-scsi
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
this is mine should i link scsi0 or sr0

and in fstab on /dev/cdrom it was owner but i switched to user
and if its user can i not the root mount cds
 
Old 04-22-2003, 04:02 AM   #29
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
ok i done thx

but about fstab
/dev/cdrom /mnt/cdrom iso9660 noauto,pico,ro 0 0 thats my cdrom shall i change the pico after noauto beacause befor it was owner but if i change it to
user could every one mount cds then
 
Old 04-22-2003, 04:07 AM   #30
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Yes, change it to users, here is what I have,
Code:
/dev/cdrom   /mnt/cdrom   iso9660   noauto,users,ro   0  0
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FAST (Mega fast Mirror) SUSE 10 beta 4 download 1kyle SUSE / openSUSE 2 09-07-2005 10:13 AM
Slamd64 is FAST FAST !!! SML Slackware 10 05-03-2005 05:36 AM
KDE 3.4 Beta 1 - Fast, Fast, very nice linchat SUSE / openSUSE 0 01-25-2005 11:42 PM
Need serious help fast please.... iLLuSionZ Linux - General 7 11-12-2003 05:53 PM
internet fast-slow-fast-slow big_and_fat_guy Mandriva 5 10-11-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration