Yoper This forum is for the discussion of Yoper 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.
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.
|
|
12-02-2004, 09:23 PM
|
#1
|
Member
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253
Rep:
|
Where is My Zip Drive, and Midnight Commander Madness
Hi fellow Yoper'ers. I installed Yoper 2.1 a week or so ago, and now have had enough time to try out all of my physical devices. I have managed to get access to my USB memory stick and to my Firewire harddrive, but I cannot figure out where my Zip drive is. Physically, it is an internal IDE drive, and so I expected it to be /dev/hdb. No luck. Does anyone out there have an internal IDE Zip drive? What magic "/dev/name" entry do I need to use in fstab to get access to it? Thanks!
One other item. I have noted that Midnight Commander (a favorite old ncurses based dual pane file manager) creates very odd screen displays. Everywhere where it is trying to draw lines and boxes, I get very oddball characters showing up (on Konsole, xterm, aterm, all of them). It seems to me like I must be using the wrong default character set or some such, but this is WAY over my head. Has anyone else had this problem? ALL of my ncurses based programs behave this way, not just Midnight Commander. Any and all insights MUCH appreciated. Thanks again!
|
|
|
12-03-2004, 02:49 AM
|
#2
|
Member
Registered: Nov 2004
Location: Warsaw, Poland
Distribution: Ubuntu
Posts: 76
Rep:
|
If you run MC from the Konsole, using a menu: New MC window (or similar) it should look fine.
They screwed up something with the encoding for MC in Yoper. I guess it uses Unicode, even if current
locales state different.
If you choose the right keymap, you should also see MC without junk on the screen in the system console.
I couldn't get it right in any terminal emulator just by using 'mc'. Dunno why, but it's a common problem.
Abiut the ZIP drive, can't help - never used it.
|
|
|
12-03-2004, 05:11 AM
|
#3
|
Member
Registered: Nov 2004
Location: Cornwall, UK
Distribution: Yoper
Posts: 43
Rep:
|
Re: Where is My Zip Drive, and Midnight Commander Madness
Quote:
Originally posted by mac57
Hi fellow Yoper'ers. I installed Yoper 2.1 a week or so ago, and now have had enough time to try out all of my physical devices. I have managed to get access to my USB memory stick and to my Firewire harddrive, but I cannot figure out where my Zip drive is. Physically, it is an internal IDE drive, and so I expected it to be /dev/hdb. No luck. Does anyone out there have an internal IDE Zip drive? What magic "/dev/name" entry do I need to use in fstab to get access to it? Thanks!
|
Plug the Zip drive in and then type in dmesg in a shell - that should give you a clue what the device is allocated as :-)
I would think it will be seen as a removeable device - so /dev/sd something rather than as a hard drive.
|
|
|
12-03-2004, 12:48 PM
|
#4
|
Member
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253
Original Poster
Rep:
|
Hi All, thanks for the advice. Midnight Commander works great if you use the Konsole "New Midnight Commander" selection. Any idea what this selection does, or where it is configured? Clearly it runs mc, but it must do something else to enable the right character support (perhaps unicode as suggested by one poster). Anyway, I would like to have a look, so that I can get my other ncurses based programs working.
On the Zip disk, thanks for the dmesg pointer. Duh! I should have thought of that myself. Only been doing linux for less than a year; I will excuse my stupidity on that grounds! :-) Anyway, sure enough, the Zip drive was well represented there. It is found as hdb, and listed as a Zip 100 ATAPI drive. Unfortunately, I still can't access it. /dev/hdb1 and /dev/hdb4 still say "not a valid block device" when I attempt to mount (with a zip disk in the drive, of course). After some more online research, I tried adding "hdb=ide-scsi" to the Grub line that boots Yoper, and then looking for the Zip drive as /dev/sda1 or /dev/sda4. Still no joy. Is there some kernel module that I need to insert to make this go? Anyone with any experience of an Internal ATAPI Zip 100? Thanks!
|
|
|
12-03-2004, 12:51 PM
|
#5
|
Member
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271
Rep:
|
Yes, same here with MC. If i start it from Konsole's menu or from kDE's main menu it looks fine, but not from 'mc' command. I tried to follow instructions from MC's manual to fix it but with no luck. So i just leave Konsole opened with two tabs - root MC and user MC - in it and forget about this problem.
|
|
|
12-03-2004, 01:34 PM
|
#6
|
Member
Registered: Nov 2004
Location: Cornwall, UK
Distribution: Yoper
Posts: 43
Rep:
|
Quote:
Originally posted by mac57
On the Zip disk, thanks for the dmesg pointer. Duh! I should have thought of that myself. Only been doing linux for less than a year; I will excuse my stupidity on that grounds! :-) Anyway, sure enough, the Zip drive was well represented there. It is found as hdb, and listed as a Zip 100 ATAPI drive. Unfortunately, I still can't access it. /dev/hdb1 and /dev/hdb4 still say "not a valid block device" when I attempt to mount (with a zip disk in the drive, of course). After some more online research, I tried adding "hdb=ide-scsi" to the Grub line that boots Yoper, and then looking for the Zip drive as /dev/sda1 or /dev/sda4. Still no joy. Is there some kernel module that I need to insert to make this go? Anyone with any experience of an Internal ATAPI Zip 100? Thanks!
|
What command are you using to actually get the drive to mount?
E.g to mount a ext2 formatted drive ( called /dev/hdb1) to /mnt/drive, first create the mount point ( /mnt/drive in this case), then from a shell do -
mount -t ext2 /dev/hdb1 /mnt/drive
It may be worth adding the device to your fstab - that makes life a lot easier for you
|
|
|
12-03-2004, 04:46 PM
|
#7
|
Member
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253
Original Poster
Rep:
|
MC Solved - Now Just Zip Drive
Well, one mystery solved. I checked out the configuration of Konsole, and discovered the key difference with what it does with its "New Midnight Commander" selection and regular operation. Bottom line: set TERM to xterm, and all is well. For some reason, in Yoper, the default is TERM = linux. So, I put the following:
export TERM=xterm
into my .bashrc, and now Midnight Commander and all my other ncurses apps draw screens properly. Hope this helps a few folks out there!
For the Zip drive, yup, I have been putting it into fstab; didn't realize I could mount without it! I'll have to try that! In fstab, I have put:
/dev/hdb1 /mnt/zip vfat users,rw 0 0
/dev/hdb4 /mnt/zip vfat users,rw 0 0
/dev/sda1 /mnt/zip vfat users,rw 0 0
/dev/sda4 /mnt/zip vfat users,rw 0 0
and then tried commands "mount /dev/hdb1", "mount /dev/hdb4", "mount /dev/sda1" and "mount /dev/sda4". I even tried an sdb set of entries, just in case. No joy in every case.
I'm starting to suspect that Yoper is missing some key kernel module to allow all this to work. The device works just fine under SuSE Linux 9.0, which is the dual boot on my machine, being identified as /dev/hdb4.
Anyone with Yoper experience of internal ATAPI Zip 100s - I would love to hear from you! Thanks!
|
|
|
12-04-2004, 09:18 PM
|
#8
|
Member
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271
Rep:
|
Thank you very much, mac57, you helped me to solve an MC problem.
|
|
|
All times are GMT -5. The time now is 07:06 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
|
|