How do I activate my sdb5 partition and have it stay active continually.
stevenvollom at sbcglobal.net
Tue Jan 6 01:25:37 UTC 2009
On Monday 05 January 2009 12:31:56 Gene Heskett wrote:
> 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
> >> "/media/sda1".
> >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 command.
> 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
> # df
> (and get:)
> 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-18.104.22.168-69.fc8 initrd-22.214.171.124-69.fc8.img memdisk
> System.map-2.6.27-rc4 vmlinuz-126.96.36.199-28.fc8
> config-188.8.131.52-14.fc8 initrd-184.108.40.206-14.fc8.img System.map
> System.map-2.6.27-rc5 vmlinuz-220.127.116.11-49.fc8
> config-18.104.22.168-28.fc8 initrd-22.214.171.124-28.fc8.img
> System.map-126.96.36.199-69.fc8 System.map-2.6.27-rc6 vmlinuz-188.8.131.52
> config-184.108.40.206-49.fc8 initrd-220.127.116.11-49.fc8.img System.map-2.6.26
> System.map-2.6.27-rc7 vmlinuz-18.104.22.168
> config-2.6.26.gz initrd-2.6.26.img
> System.map-22.214.171.124-14.fc8 System.map-2.6.27-rc7-4 vmlinuz-2.6.27-4
> config-126.96.36.199.gz initrd-188.8.131.52.img
> System.map-184.108.40.206-28.fc8 System.map-2.6.27-rc8 vmlinuz-220.127.116.11
> config-18.104.22.168.gz initrd-22.214.171.124.img
> System.map-126.96.36.199-49.fc8 System.map-2.6.27-rc8-4 vmlinuz-188.8.131.52
> config-2.6.27-4.gz initrd-2.6.27-4.img System.map-184.108.40.206
> System.map-2.6.27-rc9-4 vmlinuz-220.127.116.11
> config-18.104.22.168.gz initrd-22.214.171.124.img System.map-126.96.36.199
> System.map-2.6.28 vmlinuz-2.6.28
> config-188.8.131.52.gz initrd-184.108.40.206.img System.map-2.6.27-4
> config-220.127.116.11.gz initrd-18.104.22.168.img System.map-22.214.171.124
> config-2.6.28.gz initrd-2.6.28.img System.map-126.96.36.199
> grub lost+found System.map-188.8.131.52
> 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?
> Cheers, Gene
> "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."
Thanks for trying Gene, but I am going to have to mature a bit in linux. I
just get confused when I look at a page like this. Sorry to be so slow.
More information about the kubuntu-users