473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Optical Drive problems

10
Hello all,

I am using MEPIS 6.5 on my Laptop. When I insert a CD or DVD into my drive it will spin the disk but MEPIS will not mount the disk. I have tried every mount option and command and still I can't get anything. I using an HP Pavilion dv2000 with a Lightscribe DVD burner/reader combo. Any help would be most appreciated.
Jul 3 '08 #1
7 1893
Nepomuk
3,112 Expert 2GB
Hi DK1090!
Hm, does MEPIS recognise the drive itself? Please post the output of
Expand|Select|Wrap|Line Numbers
  1. ls /dev/?cd*
Also, what mount commands did you try? I don't believe, you tried all possible commands, as that would be a real lot - you probably tested those, that you think are realistic. So, which ones are that?

Greetings,
Nepomuk
Jul 6 '08 #2
DK1090
10
Hey man thanks for the help. I think I worked it out for myself. But if you could help me with this problem, that would be great.

I go to load my external HDD and when it mounts it says it's full but I can see no files (plus I deleted all the files) no files even with ls -a, but it says the HDD is full. I then go to cfdisk to repartition the disk and see if that is the problem but then it says that the disk has a bad primary partition and cfdisk closes. So I have nothing that I can think of.
Jul 8 '08 #3
Nepomuk
3,112 Expert 2GB
Hi again!
Hey man thanks for the help.
You're always welcome! :-)
I think I worked it out for myself.
OK, glad you worked it out. Just out of interest (and for any people, who might find this thread in future), what was the problem and how did you solve it?
I go to load my external HDD and when it mounts it says it's full but I can see no files (plus I deleted all the files) no files even with ls -a, but it says the HDD is full. I then go to cfdisk to repartition the disk and see if that is the problem but then it says that the disk has a bad primary partition and cfdisk closes. So I have nothing that I can think of.
Hm, what is the output of
Expand|Select|Wrap|Line Numbers
  1. fdisk -l /dev/sda
(or whatever device it is), run as root?

Also, do you need files, that are (or should be) on that primary partition? If so, we'll have to try to repair it, otherwise we could just create a new file system or even new partitions.

Greetings,
Nepomuk
Jul 8 '08 #4
DK1090
10
This is the output for /dev/sdb1

Disk /dev/sdb1: 79.0 GB, 79003782144 bytes
255 heads, 63 sectors/track, 9604 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/sdb1p1 ? 119512 153402 272218546+ 20 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sdb1p2 ? 82801 116350 269488144 6b Unknown
Partition 2 does not end on cylinder boundary.
/dev/sdb1p3 ? 33551 120595 699181456 53 OnTrack DM6 Aux3
Partition 3 does not end on cylinder boundary.
/dev/sdb1p4 * 86812 86813 10668+ 49 Unknown
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

This is the output for /dev/sdb

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9605 77152131 83 Linux


Oh and for how I mounted the drive I feel really stupid but I just remounted from /dev/cdrom, my problem was that the disk that I kept trying wasn't able to load so I tried a new disk and it went right through.
Jul 8 '08 #5
Nepomuk
3,112 Expert 2GB
This is the output for /dev/sdb

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9605 77152131 83 Linux
OK, that looks fine. Let's try to repair the file system. Make sure it's not mounted and type:
Expand|Select|Wrap|Line Numbers
  1. fsck -t ext3 -y /dev/sdb1 # I'm guessing, it's ext3
Now, it should find errors and attempt to correct them. Any files saved will be moved to the lost+found directory on that drive.
If that doesn't work, you could check if
Expand|Select|Wrap|Line Numbers
  1. parted /dev/sdb check 1
gives any other output.

If you have no need to save any files on the drive, you can also use
Expand|Select|Wrap|Line Numbers
  1. parted /dev/sdb rm 1
  2. parted /dev/sdb mkpartfs ext3 1 9605
Oh and for how I mounted the drive I feel really stupid but I just remounted from /dev/cdrom, my problem was that the disk that I kept trying wasn't able to load so I tried a new disk and it went right through.
Everyone makes mistakes, so just remember and try to not make the same mistake again! :-D

Greetings,
Nepomuk
Jul 8 '08 #6
DK1090
10
With the fsck command I get

fsck -t ext3 -y /dev/sdb1
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
fsck.ext3: No such file or directory while trying to open /dev/sdb1

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

as output. Does this say anything.
Jul 8 '08 #7
Nepomuk
3,112 Expert 2GB
With the fsck command I get

fsck -t ext3 -y /dev/sdb1
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
fsck.ext3: No such file or directory while trying to open /dev/sdb1

The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

as output. Does this say anything.
Well, it sounds pretty obvious to me. But first of all: It is a ext3 system, isn't it? Because, if it isn't, we might be ruining the file system (and the files on it) with what I'll attempt to do next.

If it is ext3, try using the command given:
Expand|Select|Wrap|Line Numbers
  1. e2fsck -b 8193 /dev/sdb1
From the e2fsck manpage:

-b superblock
Instead of using the normal superblock, use an alternative superblock specified by superblock. This option is normally used when the primary superblock has been corrupted. The location of the backup superblock is dependent on the filesystem’s blocksize. For filesystems with 1k blocksizes, a backup superblock can be found at block 8193; for filesystems with 2k blocksizes, at block 16384; and for 4k blocksizes, at block 32768.

Additional backup superblocks can be determined by using the mke2fs program using the -n option to print out where the superblocks were created. The -b option to mke2fs, which specifies blocksize of the filesystem must be specified in order for the superblock locations that are printed out to be accurate.

If an alternative superblock is specified and the filesystem is not opened read-only, e2fsck will make sure that the primary superblock is updated appropriately upon completion of the filesystem check.
Sound's right, doesn't it? But as I said: Be very careful!

Greetings,
Nepomuk
Jul 8 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Stephen.B | last post by:
Hi All, Many thanks to those who assisted with my previous posting regarding image file manipulation from a scanner - with your help, i have now put together a solid solution to that problem. ...
1
by: Larry Bates | last post by:
Anybody out there done anything with Optical Mark Recognition (OMR)? I have a potential project that requires OMR add-in for existing Windows based Python application. Thanks in advance. ...
4
by: mh | last post by:
Hi Folks- I'm trying to do a simple emulation of unix "locate" functionality in python for windows. Problem is I don't want to crawl/index optical drives. Do any of the windows people out...
19
by: Onideus Mad Hatter | last post by:
http://www.backwater-productions.net/_test_platform/cbstory/ Works perfect in IE but in Netscape/Firefox it fuxors. The problem is the transparent image overlays. The obvious approach would be...
3
by: skumar | last post by:
I want to map a drive to my web server at run time when a user clicks a link in my web application Is there a namespace in VB.net to Map drives Or is there a Shell command which directly runs...
4
by: robert d via AccessMonster.com | last post by:
When my app starts up, it creates a temporary database. This temp database is created from a 'model' database that is in the same folder as the application. Because there is a model, the creation...
0
by: Doug | last post by:
I have an Trackball Optical 1.0, and the left button often causes IE to go to the previous screen instead of the action clicked on. The CD driver was reloaded and makes no difference. a...
0
by: turku900 | last post by:
http://www.optical-illusion.org/?ma Here's a collection of nearly 600 pictures collected from the Internet over the years. Many of these pictures are new, many are old. They're all intended to...
7
by: fordie1000 | last post by:
hi, Anyone have advice on installing a linux distro on a new computer with no optical drive or network connection? I have heard you can put the live CDs onto a USB key and boot from that ......
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.