Press S To Skip Mounting Or M For Manual Recovery

error occured while mounting /media/sdb1.
Press S to skip mounting or M for manual recovery.

this comes up every time i boot.

and after cat/etc/fstab this comes up:

/dev/sdb1 /media/sdb1 vfat uid=users,users 0 0
/dev/sdb2 /media/sdb2 hfsplus defaults 0 0
/dev/sdb1 /media/sdb1 ext4 defaults 0 0

remnants from usb sticks and an external HD that are no connected.

tried to remove the mountpoints with sudo rmdir /media/sdb1, but no help.
I am newbie and I mean NEWbie. Can someone head me in the right direction?


Similar Content



Need Help With An Error Message For Ubuntu 13.10

Greetings All,

I'm NEW to Linux 13.10. I'm getting a error message on start up.
In the past, I would just press S to skip mounting. That is NOT
working any more.

Error Message : An error occurred while mounting/mnt/3F3C-1AF6.
Press S to skip mounting or M for manual recovery

Is there a command, that I can use to continue to boot or at
least find out what is wrong with my Ubuntu 13.10?
When I press S or M .... nothing happens.

Thanks in advance!

PEACE to ALL .... MJ

Cp From Mounted Usb Drive

I mounted a usb pen drive on /dev/sdb1 /media/mydrive. now trying to copy files from the mount and it wont just work.
On /media I used cp mydrive ~/Documents/.
help pls

Help Mounting A CD-R/DVD-R, Then Using Dd To Write To Them.

I can't seem to mount a CD-R or DVD-R, doesn't matter if it is blank or not.
However, when I use a program such as Brasero, I am able to write to them. I cannot use dd to write to them.

This is the output of trying to mount/unmount.
Code:
root@delarocha-> mount /dev/sr0 /media/cd
mount: /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so.

root@delarocha-> umount /dev/sr0
umount: /dev/sr0: not mounted
root@delarocha-> umount /media/cd
umount: /media/cd: not mounted
root@delarocha-> umount /media/cdrom
umount: /media/cdrom: not mounted

dmesg | tail
Code:
root@delarocha-> dmesg | tail
[ 1536.299777] sr 1:0:0:0: [sr0]  
[ 1536.299804] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1536.299809] sr 1:0:0:0: [sr0]  
[ 1536.299814] Sense Key : Illegal Request [current] 
[ 1536.299820] sr 1:0:0:0: [sr0]  
[ 1536.299824] Add. Sense: Logical block address out of range
[ 1536.299829] sr 1:0:0:0: [sr0] CDB: 
[ 1536.299832] Read(10): 28 00 00 00 00 00 00 00 01 00
[ 1536.299846] end_request: I/O error, dev sr0, sector 0
[ 1536.299915] EXT4-fs (sr0): unable to read superblock

I don't think it can be anything wrong with the disk, since it is a untouched disk.
Note: The results of everything(apart from dmesg I would assume), are the same for a CD-R and DVD-R

This is what I get while trying to dd a .iso and .mp4, respectively.

Code:
web@delarocha-> dd if=/dev/sr0 of=~/Downloads/xubuntu-14.04.1-desktop-amd64.iso
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000377316 s, 0.0 kB/s

Code:
web@delarocha-> dd if=/dev/sr0 of=~/Videos/The\ Hobbit/The\ Hobbit\ The\ Desolation\ of\ Smaug.mp4
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000377179 s, 0.0 kB/s

uname -a
Code:
Linux delarocha 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux

When I used lsblk when I close the disk tray, it shows it mounted.
Code:
sr0                     11:0    1     2K  0 rom

But after I use the dd command to write the .iso, it disappears.

Here is my /etc/fstab
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
/dev/mapper/delarocha-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=5bbedec0-6e3d-4185-91e0-292a72585908 /boot           ext2    defaults        0       2
/dev/mapper/delarocha-swap_1 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sdb1       /media/usb0     auto    rw,user,noauto  0       0

I have also tried replacing /dev/sr0 in the above commands with /media/cdrom0.

How-to Make A Bootable USB Stick Using DD

Hello
I want to make CentOS-7 ISO to my pen drive.I had try this now But it not woks How to make pen drive as boot CD for centOS 7 I m using now Red Hat 6.

PHP Code:
dd if=CentOS-7-x86_64-DVD-1503-01.iso of=/dev/sdb1 


PHP Code:
/dev/sda1               495844     30604    439640   7% /boot
/dev/mapper/vg_tuhin-lv_home
                     251551508   8620468 230152956   4% /home
/dev/sdb1              4209322   4209322         0 100% /media/CentOS 7 x86_64 


Write Permissions To External Drive

I have an external disk but I can only write to it using sudo, not as my normal user.

The commands I've issued a
Code:
sudo mkdir /media/USBSSD
sudo mount -t auto /dev/sda1 /media/USBSSD
sudo chmod 777 /media/USBSSD
sudo mkdir /media/USBSSD/share

How can I set it up so that other users can write to it?

Trying To Install NTFS-3g From USB Stick

Hi I'm very new here and looking for some very basic help (I think).

I've been trying to install NTFS-3G onto a old media player so I can label 4 HDD's so there always appear in the same place after booting up and viewing the samba output over my network.

I have downloaded NTFS-3g and unpacked it onto a USB stick (there are other file on it that can be removed if required).

The version of Linux is Linux version 2.6.12.6-VENUS (root@138_korsen) (gcc version 3.4.4 mipssde-6.03.01-20051114).
The version of BusyBox is BusyBox v1.1.3 (2010.07.12-08:31+0000) multi-call binary.
(I know both are old).

If I type/run fdisk -l I get the response

Disk /dev/sdb: 8024 MB, 8024752128 bytes
255 heads, 63 sectors/track, 975 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 976 7836640 7 HPFS/NTFS
Partition 1 has different physical/logical endings:
phys=(974, 254, 63) logical=(975, 158, 14)

dev/sdb1 is my usb stick and at present the only usb/hdd connected.

My problem is how on earth do I get into the usb directory and the install the program(command by command please Linux newbie very).

Any help or advice now matter how basic would be very greatly appreciated.
Thanks in advance
Andy

GRUB2 Not Seeing Old Distro When New Distro Is Installed

I have an old debian distro installed on hard disk. The distro is on sda1 partition. I also have Win7 on a seperate hard disk which is on sdb1.
When I boot up, GRUB bootloader opens up and gives me the option to select either OS.

So I recently installed a new debian distro and put into my sda2 partition.
But now when I boot up, GRUB only sees the new distro in sda2 and I can't access the distro in sda1 or Win7 in sdb1.

On one thread someone said mounting the partitions and then using 'update-grub' will resolve the problem.
I tried it and re-booted, but GRUB still only offers the newly installed distro in sda2.

Can someone help please?

How To Remount Root Partition On System Booted From External Usb Drive

Hello,
I have a setup with arch linux installed on external ssd as normal (non-live) installation.
I had to do that after my main laptop was broken. I don't want to put my drive into the new hardware, so I run it as external one for until the main will be repaired.

It boots as usual, everything is working fine until the usb drive reconnects for some reason (may be the physical connection problem). It probably mounts itself as read-only, the system freaks out and dies slowly from I/O errors process by process. I cannot issue commands from shell, even reboot. I have to physically reset the machine.

Is there a way to change its behaviour to auto remount as rw after reconnecting the USB and just keep running as usual?

I think the fstab is the file that i should modify, but cannot find a way how to do it properly. Please correct me if I'm wrong. My current fstab:
Code:
# 
# /etc/fstab: static file system information
#
# <file system>	<dir> <type> <options> <dump> <pass>
# /dev/sdb2
UUID=145b3c51-6531-48f3-a79b-fb1ae238c7ee / ext4 rw,relatime,data=ordered 0 1

# /dev/sdb1
UUID=AFC4-6899 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2

/swapfile none swap defaults 0 0

Trouble Mounting Network Drive On Wandboard/Arch

Hi. I've installed Arch Linux on a Wandboard running Logitech Media Server (LMS). LMS needs to read my music files off of a NAS network share. I can't figure out how to mount that network share.

I was told by someone who has a similar NAS to make the following entry in etc/fstab:

//192.168.10.15/media/Music /mnt/netdrive cifs noauto,x-systemd.automount,user=nobody,password="",iocharse t=utf8,noperm,nounix,nobrl 0 0

But when I start LMS and point it to /mnt/netdrive, my media/Music folder isn't shown. Is there a problem with the way I'm trying to mount the network share?

I've tried using "root" and "admin" as username and the admin password of the NAS as password, but still no luck. I've tried mounting the share manually, but I get a "permission denied" error.

Any help would be greatly appreciated.

Permission Problems

trying to set up a simple NAS using Raspian on RaspberryPi2.
installed ntfs-3g and samba.
followed various methods to set it up.
found one that allows me access to my drives.
PROBLEM.....

As a test I edited a simple text file using my laptop (windows7), however when trying to save I receive "access denied"
same occurred on our other computers.

My setup....
in fstab

added...
UUID=DBE6-7AC0 /media/Lexar vfat defaults.noatime 0 2
UUID=F21843B31843756F /media/OurFiles ntfs defaults,noatime0 3


in samba config set security = user and encrypt passwords = yes in Authentication Section, then added the following at the end of file:
[Lexar]
comment this is the Lexar (vfat)
path = /media/Lexar
available = yes
read only = no
browsable = yes
public = yes
writable = yes
create mask = 0775

[OurFiles]
comment this is the OurFiles (ntfs)
path = /media/OurFiles
available = yes
read only = no
browsable = yes
public = yes
writable = yes
create mask = 0775

I would be very grateful for any assistance....thank you

Having trouble mastering this environment, please bear with me,