Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > Multiple mounts

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-10-2008   #1 (permalink)
Just Joined!
 
Join Date: Dec 2008
Posts: 3
Multiple mounts

I have booted Knoppix 5.1 from a USB stick

Here is fdisk -l

Disk /dev/sda: 163.9 GB, 163927522816 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 5 19929 160047562+ 7 HPFS/NTFS

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 38913 312568641 7 HPFS/NTFS

Disk /dev/sdc: 1014 MB, 1014497280 bytes
65 heads, 32 sectors/track, 952 cylinders
Units = cylinders of 2080 * 512 = 1064960 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 953 990704 b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(967, 64, 32) logical=(952, 39, 32)


There are links for /dev/sda1 and /dev/sdb1 on the desktop, but if I open them up they always show the USB key /dev/sdc1

here is /etc/mtab
/dev/root / ext2 rw 0 0
/dev/sda1 /cdrom fuseblk ro,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
/dev/sdb1 /cdrom fuseblk ro,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
/ramdisk /ramdisk tmpfs rw,size=411948k,mode=755 0 0
/UNIONFS /UNIONFS aufs rw,br:/ramdisk:/KNOPPIX 0 0
/dev/sdc1 /cdrom vfat ro,nodev,fmask=0022,dmask=0022,codepage=cp437,ioch arset=iso8859-1 0 0
/dev/cloop /KNOPPIX iso9660 ro 0 0
/proc/bus/usb /proc/bus/usb usbfs rw,devmode=0666 0 0
/dev/pts /dev/pts devpts rw 0 0

As far as I can make out, there are multiple mount on /cdrom.

How do I correct this?
ercolano is offline  


Reply With Quote
Old 12-10-2008   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Post the contents of /etc/fstab file here.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 03-07-2009   #3 (permalink)
Just Joined!
 
Join Date: Mar 2009
Posts: 6
I had exactly the same problem with my USB Knoppix. I installed Knoppix 5.1 on a USB stick and able to boot with this image, but after some playing around i started to realise it mounts the USB stick to multiple points. I tried to unmount this drive but it would not let me and told me it has mounted multiple times.

after that, i tried to boot with a CD copy of knoppix and this time it works correctly as /dev/sda1 is now my harddrive and i can mount and unmount it.

anybody has an idea how to fix this? I really liked to use the USB booting as it works a lot faster than the CD.

regards,
SkY
skyrock is offline   Reply With Quote
Old 03-07-2009   #4 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Hi and Welcome !

Boot up from USB stick again and execute df -h command. Post output here.
Code:
df -h
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 03-08-2009   #5 (permalink)
Just Joined!
 
Join Date: Mar 2009
Posts: 6
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/root             3.4M   23K  3.4M   1% /
/dev/sda1             1.9G  712M  1.2G  37% /cdrom
/ramdisk             1012M  5.3M 1007M   1% /ramdisk
/UNIONFS             1012M  5.3M 1007M   1% /UNIONFS
/dev/sdb1             1.9G  712M  1.2G  37% /cdrom
/dev/cloop            2.0G  2.0G     0 100% /KNOPPIX
the above was the df -h result from USB boot.

i tried to unmount both sda1 and sdb1, the error is "/cdroom is mounted multiple times" and cannot be unmount

regards,
sKy
skyrock is offline   Reply With Quote
Old 03-11-2009   #6 (permalink)
Just Joined!
 
Join Date: Mar 2009
Posts: 6
anyone can give assistant to the above problem?
skyrock is offline   Reply With Quote
Old 03-11-2009   #7 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Put # sign before /dev/sda1 and /dev/sdb1 lines in /etc/fstab file.
Code:
#/dev/sda1 /cdrom fuseblk ro,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
#/dev/sdb1 /cdrom fuseblk ro,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
Execute this to unmount partitions.
Code:
umount /dev/sda1
umount /dev/sdb1
Try to mount both manually again.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 03-14-2009   #8 (permalink)
Just Joined!
 
Join Date: Mar 2009
Posts: 6
here's the result after I tried. It doesnt work.

Quote:
knoppix@Knoppix:~$ #/dev/sda1 /cdrom fuseblk ro,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
knoppix@Knoppix:~$ #/dev/sdb1 /cdrom fuseblk ro,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
knoppix@Knoppix:~$ umount /dev/sda1
umount: /dev/sda1 mount disagrees with the fstab
knoppix@Knoppix:~$ umount /dev/sdb1
umount: /dev/sdb1 mount disagrees with the fstab
knoppix@Knoppix:~$
skyrock is offline   Reply With Quote
Old 03-14-2009   #9 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Quote:
knoppix@Knoppix:~$ #/dev/sda1 /cdrom fuseblk ro,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
knoppix@Knoppix:~$ #/dev/sdb1 /cdrom fuseblk ro,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
Do not execute those commands at prompt. Open /etc/fstab file and put # sign before those lines.
Code:
su -
nano /etc/fstab
Press Ctrl+X, Y and hit Enter key to save file.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 03-17-2009   #10 (permalink)
Just Joined!
 
Join Date: Mar 2009
Posts: 6
here's what I did:

1. opened terminal and typed su -, then I saw shell prompt become root@knoppix:~#
2. typed nano /etc/fstab and entered into editor. found the lines as below:
Code:
/proc /proc proc rw,nosuid,nodev,noexec 0 0 /sys /sys sysfs
rw,nosuid,nodev,noexec 0 0 /dev/shm /dev/shm tmpfs
rw,nosuid,nodev,noexec 0 0 /dev/pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /media/fd0 auto user,noauto,exec,umask=000 0 0 /dev/cdrom
/media/cdrom auto user,noauto,exec,ro 0 0 /dev/hdc /media/hdc auto
users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/sda1 /media/sda1 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppix$
# Added by KNOPPIX
/dev/sdb1 /media/sdb1 vfat noauto,users,exec,umask=000,shortname=winnt,uid=knoppix id=knoppix,gid=knoppix 0 0
3. tried putting # sign infront of /dev/sdb1 and /dev/sda1, then save and umount but it says device is busy and cannot unmount.

regards
sky
skyrock is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:03 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2