added a second hdd, does not work, and both cd and dvd burner stopped working

Asked by michael

Installed a new hdd, used Ubuntu Documentation to install. The hdd does not work, now cd and dvd burner have stopped. Used question 22477 information. This is what I get when a cd or dvd is loaded. Error mounting: mount exited with exit code 1: helper failed with:
[mntent]: line 13 in /etc/fstab is bad
mount: can't find /dev/sr0 in /etc/fstab or /etc/mtab Thank you Michael

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
michael
Solved:
Last query:
Last reply:
Revision history for this message
michael (yellupcm-gmail) said :
#1

mcpulley@2:~$ dmesg | grep disk
[ 0.498261] PM: Resume from disk failed.
[ 0.978844] sd 0:0:0:0: [sda] Attached SCSI disk
[ 0.986876] sd 0:0:1:0: [sdb] Attached SCSI disk
mcpulley@2:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=3b091c94-fca7-4408-a28d-4335c3fcffbe / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=13b79b38-379a-4fb7-9681-374d99df1616 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0/dev/sdb1 /media/mynewdrive ext3 defaults 0 2/dev/sdb1 /media/mynewdrive ext3 defaults 0 2sudo mount -a sudo chown -R mcpulley:mcpulley /media/mynewdrive
mcpulley@2:~$ mount
question 22477 wanted results of dme5g | grep disk cat /etc/fstab mount this is it

Revision history for this message
delance (olivier-delance) said :
#2

"/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0/dev/sdb1 /media"
There should be a line return after "0 0". It seems your fstab is broken.
In fact, "/dev" should always be preceded by a line return.
Try to fix it in /etc/fstab and see new error message.

Revision history for this message
michael (yellupcm-gmail) said :
#3

mcpulley@2:~$ /etc/fstab
bash: /etc/fstab: Permission denied
mcpulley@2:~$ /dev/etc//fstab
bash: /dev/etc//fstab: No such file or directory
mcpulley@2:~$ sudo/etc/fstab
bash: sudo/etc/fstab: No such file or directory
mcpulley@2:~$ /fstab
bash: /fstab: No such file or directory
mcpulley@2:~$ /etc
bash: /etc: is a directory
mcpulley@2:~$ su/etc/fstab
bash: su/etc/fstab: No such file or directory
mcpulley@2:~$ sudo/etc
bash: sudo/etc: No such file or directory
mcpulley@2:~$ sudo /etc
[sudo] password for mcpulley:
sudo: /etc: command not found
mcpulley@2:~$

Sorry, this is beyond my understanding of Ubuntu. As you can see I do not know how to fix /etc/fstab Thank You for any more help Michael

Revision history for this message
michael (yellupcm-gmail) said :
#4

Problem solved.

Revision history for this message
delance (olivier-delance) said :
#5

The problem is less to solve such issue than to understand how such issue occurred.
Your file was corrupted, and if you didn't edit it manually, that means a software did it.
Did you have problem immediately after install, or after some times ?

Revision history for this message
michael (yellupcm-gmail) said :
#6

On Thu, Sep 23, 2010 at 10:32 AM, delance <
<email address hidden>> wrote:

> Your question #123877 on util-linux in ubuntu changed:
>
> https://answers.edge.launchpad.net/ubuntu/+source/util-linux/+question/123877
>
> delance posted a new comment:
> The problem is less to solve such issue than to understand how such issue
> occurred.
> Your file was corrupted, and if you didn't edit it manually, that means a
> software did it.
> Did you have problem immediately after install, or after some times ?
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
Immediately after the install. I agree with your first sentence 100%. I used
Ubuntu Documentation on how to install second hdd. I went line by line. I
did not edit, unless it was on that page.
https://help.ubuntu.com/community/InstallingANewHardDrive?action=fullsearch&context=180&value=linkto%3A%22InstallingANewHardDrive%22
And question 22477 in Launchpad Thanks again
Michael

Revision history for this message
delance (olivier-delance) said :
#7

Avoid to replay with previous message. It makes Launchpad unreadable.
It seems your message is corrupted.