SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
To be able to mount your windows partition put the following in your /etc/fstab:
/dev/hdb1 /mnt/windows ntfs noauto,user,ro 0 0
make sure you create /mnt/windows with mkdir. then to mount it just type mount /mnt/windows
scd0 will be symlinked to sr0 so that doesn't matter.
you said the cdrw was the secondary slave, that is why i thought it would be on 1 not 0.... but you will only have 1 scsi if you do not append both drives for scsi emulation.... i run ide-scsi on both so I have sr0 and sr1. to be honest i am not sure. you can set it up as one then try to mount, if it won't then change it, unless someone else chimes in here.
Since you got someone helping you I've backed off, but kept up with your progress.
Only three things to "chime in" at this point. I always use this for ide writers
and the second thing is, after you add append="hdd=ide-scsi" to your /etc/lilo.conf
file, you will have to issue
# /sbin/lilo
again, or it won't be added - and then reboot.
Last, I believe you issued
bash-2.05b$ cdrecord -scanbus
rather than
bash-2.05b# cdrecord -scanbus
Notice the $ indicates a normal user, and the # indicates root.
You can only use cdrecord as root.
Like ringwraith said whilst I was posting, you have to rerun lilo for
the changes to stick - then reboot - always have to do that after
changing LiLO.
Also, you have to have a mount point to mount the CD-RW. You
have issued a command to mount a device but didn't tell your
system where you want to mount it. My setup above allows
you to mount them as a regular user. You don't want to su to root
in a *nix system except for sys maintenance reasons. That's the
primary thing that makes your Slackware box 100 times more secure
than that Windoze eXperiment thing. ;-)
Slack comes with /mnt/cdrom - I think. Issue
$ ls -alc /mnt
and see what's there. Then su to root and issue
bash-2.05b# pico /etc/fstab
and add the mount point for your drive. Look at
the example I posted above, post back with ???
Syntax error at or above line 41 in file '/etc/lilo.conf'
line 41 is the line I put append='hdd=ide-scsi'
I did cdrecord -scanbus in root and got this:
Code:
cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
I Triple checked to make sure I was in root
I did $ ls -alc /mnt , but im not sure what to make of it
Code:
total 3
drwxr-xr-x 7 root root 168 Jun 7 17:20 ./
drwxr-xr-x 17 root root 384 Jun 7 17:33 ../
drwxr-xr-x 2 root root 48 Jun 7 16:58 cdrw/
drwxr-xr-x 2 root root 48 Jun 5 19:46 dvdrom/
drwxr-xr-x 2 root root 48 Jun 5 19:46 floppy/
drwxr-xr-x 2 root root 48 Jun 5 19:46 hd/
dr-x------ 1 root root 4096 May 5 18:51 windows/
Originally posted by Teckno ok I reran LiLo but it gave me this:
Code:
Syntax error at or above line 41 in file '/etc/lilo.conf'
line 41 is the line I put append='hdd=ide-scsi'
That line should read append="hdd=ide-scsi"
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdd=ide-scsi"
boot = /dev/hda
and should be exactly where you see it above. You have the double quotes
as single quotes and have it after the data is finished. So, make it like the
above, save the file, and issue
# /sbin/lilo
and you're good to go for that. And I don't know if it matters, but I've personally
never had quotes around the boot device.
Quote:
I did cdrecord -scanbus in root and got this:
Code:
cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
I Triple checked to make sure I was in root
There is a difference between "in root" and "as root." The first one, "in root" means
that you are in the root directory; the second one means you are logged in as root,
super user. You do this by issuing
$ su
password:
and then the prompt changes from $ to # and you know you are "logged in" as root.
Sorry to have you check for a fourth time - maybe you just stated it wrong. This time
post it with the entire bash prompt like this:
though the problem will be solved after you fix LiLO, assuming you did the
standard full install and have the proper modules. I know it's anal retentive,
but IMO this issue should be resolved before trying something else. If you
have it right in LiLO, your machine should see it. So, you must run this test
again after you've redone LiLO and rebooted - okay?
Quote:
I did $ ls -alc /mnt , but im not sure what to make of it
Code:
total 3
drwxr-xr-x 7 root root 168 Jun 7 17:20 ./
drwxr-xr-x 17 root root 384 Jun 7 17:33 ../
drwxr-xr-x 2 root root 48 Jun 7 16:58 cdrw/
drwxr-xr-x 2 root root 48 Jun 5 19:46 dvdrom/
drwxr-xr-x 2 root root 48 Jun 5 19:46 floppy/
drwxr-xr-x 2 root root 48 Jun 5 19:46 hd/
dr-x------ 1 root root 4096 May 5 18:51 windows/
That's real good. You have a place to mount all the devices. So for your
/etc/fstab entry, put
Thanks - you just need to change the 1 in the cdrw line to 0
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot="/dev/hda"
message = /boot/boot_message.txt
prompt
timeout="100"
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 800x600x64k
vga="788"
# 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
# End LILO global section
# Linux bootable partition config begins
image="/boot/vmlinuz"
root="/dev/hda2"
label="Linux"
read-only
# Linux bootable partition config ends
append='hdd=ide-scsi'
Quote:
btw I got /windows working, thing is that everything is owned by root (locked up), I tried chmoding it (777) but it dident to the subdirectys
You can't change permissions of the Windoze drive in Linux. Well, I can't by issuing
bash-2.05b# chown -R mingdao.users /DATA_FAT32/
but if I'm wrong, I welcome the correction. :} You don't want to mess with that bad boy,
btw, because Linux cannot reliably write to a NTFS drive, but can read it. Linux
can, however, read and write very well to FAT32. :}
Last edited by Bruce Hill; 06-07-2004 at 09:18 PM.
sam@darkstar:~$ mount /mnt/cdrw
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
or too many mounted file systems
Quote:
You can't change permissions of the Windoze drive in Linux. Well, I can't by issuing
bash-2.05b# chown -R mingdao.users /DATA_FAT32/
but if I'm wrong, I welcome the correction. :} You don't want to mess with that bad boy,
btw, because Linux cannot reliably write to a NTFS drive, but can read it. Linux
can, however, read and write very well to FAT32. :}
sorry I left something out, I once I was able to access the drive I copied everything over to a folder on my desktop (cause the hd is gonna zero-writ, reformated and loaded with windows). Thats where every thing was locked up, the folder, not the drive. sorry about the confuseion
sam@darkstar:~$ mount /mnt/cdrw
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
or too many mounted file systems
Wait...stop the presses...what type of CD did you try to mount?
I bet it was a blank one. If so, try one with some data...any kind
of data...and fyi you don't have to mount a CD before you burn...
and by all means, burn from the command line!
And Sam, to unmount it you issue
bash-2.05b$ umount /mnt/cdrw (that's correct - there is no n after the first u)
Quote:
sorry I left something out, I once I was able to access the drive I copied everything over to a folder on my desktop (cause the hd is gonna zero-writ, reformated and loaded with windows). Thats where every thing was locked up, the folder, not the drive. sorry about the confuseion
You got me on that one for sure. You just use that command I posted
# chown sam.users /path/to/file
or
# chown -R sam.users /path/to/dir
and you'll make something happen. Read
$man chown
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.