problem with chmod
Bret Busby
bret at busby.net
Sat Apr 4 19:55:14 UTC 2009
On Sat, 4 Apr 2009, Thorny wrote:
>
> [...]
>>>
>> I don't know whether blkid has to be run as a superuser, but, when I ran
>> the command, I got no response.
>>
>
> As has already been mentioned by NoOp, blkid is installed by default and
> should have given you output. It may become important to find out why
> blkid doesn't work on your system. You also could have browsed to the
> /etc/blkid.tab and looked at them in there.
>
As it happens, it does work on the system.
As stated in another response to my messages, the command does require
to be done with sudo. I tried that, and that works.
>
>> The previously mentioned (in the thread) command ls -l /dev/disk/by-uuid
>> worked; it listed uuid's for each partitition.
>>
>
> Of course it did, the command that would have not given you UUIDs was
> fdisk -l, alternately, you could have just browsed to the location in the
> /dev folder and seen them there.
>
>
>> I entered the uuid's appropriately (I think) in the fstab file, and
>> tried two different positionings, but the amending of the fstab file,
>> did not result in the partitions being mounted.
>>
>> To ensure no typographical errors in the UUID entris in the fstab file,
>> I copied and pasted the respective UUID's from the response to the ls
>> comand cited above.
>>
>> I used the format
>> # <device>
>> <UUID> ext3 <mountpoint> defaults 0 0
>>
>
> This looks like you followed an appropriate method however it's general
> and we probably need to check specifics at this point.
>
> Post your real fstab (filesystem table), and also the two partitions, as
> below.
>
:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda8
UUID=3bb93d1c-1875-4036-90c7-846e954ceb45 /data ext3 defaults 0 0
# /dev/sda5
UUID=cb771616-3630-4139-9b1d-c3fb499d9949 /debian_home ext3 defaults 0 0
# /dev/sda7
UUID=1b72f837-17e1-4af9-9f22-31dc9a191657 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda6
UUID=b421ce00-c5cc-4df1-9102-65b0b256376d none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
>
>> for each of the two partitions that I wanted to be mounted.
>>
>> both of the partitions are ext3 partitions.
>>
>
> This topic started out talking about a 33G partition on which you
> installed Ubuntu, then you tried to carve that into two partitions.
>
> What are those two partitions, is one the hdc8 that you mention in this
> quote? "I have now managed to get the particular (hdc8) partition mounted,
> and writable, and written to, in Debian, but I now do not know how to get
> the file mounted in Ubuntu" It's not clear to me what "file" you are
> referring to in that comment.
>
> So, list the two partitions you want to mount at boot so we can compare
> them to your fstab.
>
The two partitions that I want to be able to mount at system bootup in
the Ubuntu system, are sda8 and sda5, as shown in the fstab file above.
sda5 is the /home partition of my Debian system.
>
>> I figured that the use of defaults would be okay, as it is used in the
>> first data line of the file; the proc line.
>>
>> Then, I rebooted, after each positioning.
>>
>
> No need to reboot, after saving your changes to fstab, issue the command,
> as root(sudo), mount -a. That will mount all the filesystems marked auto
> in the fstab.
>
> [...]
>> After each attempt, I ran df -h, to find whether the two partitions were
>> listed, and, they weren't included in the listing, so I tried looking
>> using the Ubuntu equivalent of the File Browser, and I did not find the
>> partions, so I assume that they did not get mounted, in each of the two
>> attempts.
>>
>> So, I still cannot get the two partitions to get mounted, via the fstab
>> file, in Ubuntu.
>>
>
> Can you mount both of them manually? What command do you use for mounting
> and, after you've mounted them, does the output of the mount command with
> no options show them as mounted? Does fdisk -l show them?
>
I have not mounted HDD partitions manually. I have only ever mounted
removable media, like FDD's, manually (and that was a couple of years
ago, now, I think)
I assume that the command that should be used for mounting the
partitions manually, is mount.
--
Bret Busby
Armadale
West Australia
..............
"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992
....................................................
More information about the ubuntu-users
mailing list