How do I activate my sdb5 partition and have it stay active continually.
gene.heskett at verizon.net
Mon Jan 5 17:31:56 UTC 2009
On Monday 05 January 2009, Steven Vollom wrote:
>> /dev/sda1 /media/sda1 ext3 owner,atime,noauto,rw,nodev,noexec,nosuid 0 0
>> The difference is in the second option, I changed it from "/media" to
>I think I screwed up. I opened the GUI to look at the partitions in
>Disk&Filesystems. I expected to find sda1 with a mount point of
>/media/sda1. It showed as /media/sdb1 instead of /media/sda1. I then
>opened the Konsole and entered sudo kedit /media/sdb2 to try to get to
>that error. This is what came on the Konsole:
>steven at Studio25:~$ sudo kedit /media/sdb1
>[sudo] password for steven:
>Error: "/tmp/kde-steven" is owned by uid 1000 instead of uid 0.
>kedit opened to a blank page and in the title bar it reads /media/sdb1 -
>KEdit <2>, like I have two KEdit windows open.
Oops, close that without saving.
>I want to go back and edit the mount point as /media/sda1.
A 'mount point' is nothing more nor less than a directory. If there is
nothing in it, it can be removed with an 'rmdir', see the manpage.
If there is something in that directory, probably because something was stored
there when no media was mounted, then if its precious, mv (see the manpage)
it to someplace safe.
Now, please understand that if I had a /media/westernsteer directory, I can
mount any partition visible to the system on that mount point with the mount
Demo (all as root or sudo'd, and the # sign is the shell prompt, no pound sign
its the response to the command:
# mkdir /media/westernsteer
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb3 468832020 97119656 347512852 22% /
/dev/sdb1 194442 81057 103346 44% /boot
/dev/sdc1 384578164 298590648 66452076 82% /amandatapes
tmpfs 2075600 0 2075600 0% /dev/shm
The above to verify where my /boot is (this box is an odd bird), then
# mount -t ext3 /dev/sdb1 /media/westernsteer
# ls /media/westernsteer
config-220.127.116.11-69.fc8 initrd-18.104.22.168-69.fc8.img memdisk
config-22.214.171.124-14.fc8 initrd-126.96.36.199-14.fc8.img System.map
System.map-188.8.131.52-69.fc8 System.map-2.6.27-rc6 vmlinuz-184.108.40.206
config-220.127.116.11-49.fc8 initrd-18.104.22.168-49.fc8.img System.map-2.6.26
System.map-22.214.171.124-14.fc8 System.map-2.6.27-rc7-4 vmlinuz-2.6.27-4
System.map-126.96.36.199-28.fc8 System.map-2.6.27-rc8 vmlinuz-188.8.131.52
System.map-184.108.40.206-49.fc8 System.map-2.6.27-rc8-4 vmlinuz-220.127.116.11
config-2.6.27-4.gz initrd-2.6.27-4.img System.map-18.104.22.168
config-22.214.171.124.gz initrd-126.96.36.199.img System.map-188.8.131.52
config-184.108.40.206.gz initrd-220.127.116.11.img System.map-2.6.27-4
config-18.104.22.168.gz initrd-22.214.171.124.img System.map-126.96.36.199
config-2.6.28.gz initrd-2.6.28.img System.map-188.8.131.52
grub lost+found System.map-184.108.40.206
It is in fact, my /boot partition, mounted someplace else. Now, clean up the
mess I just made:
# umount /media/westernsteer
# rmdir /media/westernsteer
# ls /media/westernsteer
ls: cannot access /media/westernsteer: No such file or directory
Does this help your understanding of how this works?
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
"I don't think they could put him in a mental hospital. On the
other hand, if he were already in, I don't think they'd let him out."
More information about the kubuntu-users