Warty installer does not create SCSI device
Eric Potter
ecp62 at charter.net
Thu Nov 11 20:40:32 UTC 2004
Tommy Trussell wrote:
> On Wed, 10 Nov 2004 16:35:38 -0800, Eric Potter <ecp62 at charter.net> wrote:
>
>>What exact command did you use to make /dev files for scsi cdrom?
>>I need scd0 and scd1. I'm looking at the MAKEDEV script right now
>>but I haven't had success yet.
>
>
> I don't have any idea what scd0 and scd1 would point to -- I'm not
> familiar with those. In fact, I don't know much at all about devices
> so I would feel a lot more comfortable if the system had set them up
> for me.
>
> Here's what I did to create my sg ("SCSI generic?") devices:
>
> cd /dev
> sudo MAKEDEV -v sg
>
> This should create a bunch of sg files in /dev.
>
> Next you need to set the permissions in a way that you can use them.
>
> The easiest way is to make sure your user is a member a group such as
> cdrom and then make sure the /dev/sg0 file is in the cdrom group and
> that its privileges give rw access to that group. (Remember after
> adding yourself to a group you have to log out and back in for it to
> take effect.)
>
> Lots of software will look for a symbolic link too --
>
> ln -s /dev/sg0 /dev/cdrom
>
> for example.
>
> So now I've written about 3/4 of the HOWTO ... but it's late and I
> should start fresh tomorrow... did I cover what you wanted to know?
>
Apparently, all I needed to do was to edit /etc/fstab and replace
scd with sr
before:
/dev/scd0 /media/cdrom1 udf,iso9660 ro,user,noauto 0 0
/dev/scd1 /media/cdrom2 udf,iso9660 ro,user,noauto 0 0
after:
/dev/sr0 /media/cdrom1 udf,iso9660 ro,user,noauto 0 0
/dev/sr1 /media/cdrom2 udf,iso9660 ro,user,noauto 0 0
The installer setup my fstab incorrectly.
More information about the ubuntu-users
mailing list