General :: Adding SDA1 Partition To Root LVM Group?

Nov 9, 2009

I have a question about LVM. My /dev/sda disk is partitioned into Windows NTFS on sda1, Linux /boot partition on sda2, and the Fedora 10 root (/) LVM partition is on sda3. I have moved my Windows XP to VMware on the Linux system and would like to add the sda1 partition to root LVM group.

View 7 Replies


ADVERTISEMENT

General :: Adding Root To A Group

Jul 4, 2011

I'm seeing on my Fedora 15 box. I want to add the superuser to a group called, say, thisgroup.thisgroup is absent. Surprisingly, when I thought of editing /etc/group, root was present there!Anyone on why groups didn't show my new addition?

View 3 Replies View Related

General :: Ubuntu - Adding Space To A Root Partition

Aug 2, 2010

I have some contiguous free space available next to where my root partition resides on the hard drive. I was thinking of resizing the root partition with gparted to take up this space, but it's kind of risky. I was wondering if there is another way to include this partition into my Linux partition without resizing? Like somehow link it in so that / will have more free space?

View 1 Replies View Related

General :: Ubuntu 6.06: Mounting /root/sda1 /root Failed: No Such Device

Jan 22, 2010

An old machine in our office, running Ubuntu 6.06 all of a sudden will not boot up. I get the following info during boot:

Uncompressing Linux... Ok Booting the kernel
mount: Mounting /root/sda1 /root failed: No such device
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory

[code]....

I haven't changed anything on the system as far as I'm aware, and I ran some HD diagnostics and everything seems fine. however when I try to mount the drive with the following command:

sudo mount -t ext3 -o rw /dev/hda1 /mnt

I get the following error:

mount: wrong fs type, bad option, bad
superblock on /dev/sda1, missing code
page or helper program, or other error
In some cases useful info is found in
syslog - try dmesg | tail or so

I ran fdisk -l and it says the partition type is Linux. The output after running dmesg | tail :

[12207.483801] init_special_inode: bogus i_mode (101)
[12207.483809] EXT2-fs: corrupt root inode, run e2fsck
[12260.427078] init_special_inode: bogus i_mode (101)

[code]...

Update: After running e2fsck -p /dev/sda1, I get the following info:

/dev/sda1: clean, 142449 / 9584640 files, 5402711 / 19161520 blocks

View 1 Replies View Related

Software :: Member Of Group Root / But Root Group Permissions Don't Apply?

Apr 20, 2010

A bit of an oddity that I've recently run into with my storage folder in my system; it's a newly installed drive that I've set to mount at /storage. When I first tried to use it, programs that I used that attempted to write to it tossed Access Denied errors at me in their own way. Checking the permissions (at the Terminal, ls -l / | grep storage) showed that /storage was set to 'rwxrwxr--'--Owner and Group were given full read/write/execute, but Others could only read. However, my logon to my system is a member of group root. Why, then, with the above bits set, would I not be able to write to it? Changing Others permissions to rwx (and presumably rw would have worked out for me since I don't leave anything executable there) allowed me to write to it, but I don't understand why that would have been necessary. So far as I'm aware, the prior drive that was in my system--mounted at the same location--did not need this treatment.

View 7 Replies View Related

Red Hat / Fedora :: Extending Root Partition - Volume Group Not Found

Sep 20, 2010

I am trying to extend my / size as its full. Well the volume group is VolGroup00 & logical volume is LogVol00 but when. I run the command vgextend VolGroup00 /dev/sda8. It says volume group not found. Can it be because I have WindowsXP in my /dev/sda1, which falls under same Volgroup??

View 1 Replies View Related

Ubuntu :: Adding Unallocated Space To Root Partition?

Jan 13, 2011

I am having an issue adding unallocated space to my root partition. Based on other threads I figured out that the unallocated space needs to be right next to the partition that one wants to extend. In my case, I would like to extend 'ext3' in attached screenshot of gparted. I carved out a 1002MB space and moved this unallocated space right under the ext3 partition (/dev/sda3). How do I add this unallocated space to /dev/sda3 please? When I run 'gparted' on bootup (using linux running on a usb stick), I don't get the option to increase the size of /dev/sda3. Basically the unallocated space is not being 'seen' when I try to resize /dev/sda3.

$df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 3844152 2935868 713008 81% /
none 502400 260 502140 1% /dev
none 508008 248 507760 1% /dev/shm

[Code]....

View 9 Replies View Related

General :: Adding Users To Existing Group

Aug 26, 2010

I've been asked by my professor to add the list of users to a linux server (not sure of the OS type I think he said debian) but anyway. He gave me this script to add users.

Code: #!/bin/bash
# Script to add a user to Linux system
if [ $(id -u) -eq 0 ]; then
read -p "Enter username : " username
read -s -p "Enter password : " password
egrep "^$username" /etc/passwd >/dev/null
if [ $? -eq 0 ]; then
echo "$username exists!"
exit 1
else
pass=$(perl -e 'print crypt($ARGV[0], "password")' $password)
useradd -m -p $pass $username
[ $? -eq 0 ] && echo "User has been added to system!" || echo "Failed to add a user!"
fi
else
echo "Only root may add a user to the system"
exit 2
fi

I need to see if I can get this script to read a file that list the usernames and their passwords using the pipe command (or some similar command) so I can just do it in one batch. I've done some searching but there are so many vairiations of the code that I've confused myself. Also, I'm not too familiar with linux, it's been a few years since I've used it but in the prior script, I need to add the users to an existing group named "forensics". Which line would I change/add in order to do this?

View 3 Replies View Related

General :: Adding User To A Secondary Group?

Sep 10, 2009

If user1's main group is genetics and one wants to add him/her to group biochem and to assign biochem as his/her secondary group will the following suffice ?

Code:

$ sudo usermod -G biochem user1

I would like for user1 to have genetics as the main group but also belong to biochem. When user1 creates a file, as he/she belongs to main group genetics, I assume the file will be owned by user1 and group owner will be genetics. Ideally files created by user1 should be accessible to users in group genetics(when permissions are tweaked) but not by individuals in group biochem. However, any files with group owner biochem should be accessible to user1 as he/she does belong to biochem as a secondary group. Would having user1 main group genetics, secondary group biochem fulfil this criteria ?

View 5 Replies View Related

Red Hat / Fedora :: Adding Existing Memory In Sdb1 To Sda1?

Nov 30, 2010

Here is the output of disk free space

# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 940287756 3320512 888432924 1% /
/dev/sda1 101086 21142 74725 23% /boot
tmpfs 7730504 0 7730504 0% /dev/shm
/dev/sdb1 2884158292 74736 273757667 1% /data

Now,I wanna add a large amount of memory in sdb1 to sda1 to increase the available memory.Is there a way I can do this?

View 4 Replies View Related

General :: LVM - Adding New Disk Space To Volume Group?

Feb 7, 2011

I plan to install a server using LVM. I thought a partition schema where /boot would be in an ext4 partition while / /usr /var /home and /opt would be in the LVM. My question is: if I'm putting / into the LVM, is it necessary to divide /usr /var /home and /opt into different logical volumes? If I divide them, would it become harder to maintain when new disk space has to be added to the volume group?

View 7 Replies View Related

General :: Warning: Group Mockbuild Does Not Exist - Using Root

Mar 29, 2011

I'm running fedora 14.I want to see the source code of uname.After googling,I find a way.But a problem happens.

[Code]....

Why I got this warning. After installing coreutils-8.5-7.fc14.src.rpm,where can I see the source code of uname.

View 2 Replies View Related

Ubuntu :: 10.04 Can't Mount Its Own Partition (/dev/sda1)

Feb 26, 2011

I turned on my laptop today and noticed a load of unfamiliar startup text so I knew something was wrong. Now whenever I startup my laptop, GRUB loads fine but when I try to start Ubuntu it says the following:

Quote:

mount : mounting /dev on /root/dev failed : No such file or directory
mount : mounting /sys on /root/sys failed : No such file or directory
mount : mounting /proc on /root/proc failed : No such file or directory

[code]....

so all I'm left with is this BusyBox command prompt. I'm on a live Ubuntu CD right now and if I try to mount /dev/sda1 either in the terminal (with the mount command) or with the GUI it just gets stuck.

Quote:

This will provide you with a list of your drives and partitions, you need to pick the one that your root file system is installed to, it will be something like /dev/sda1 but in my case I can't even mount /dev/sda1. When I run sudo fdisk -l heres what I get

Quote:

ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders

[code]...

thats weird because I rebooted with a live Ubuntu CD and didn't even try to mount /dev/sda1 this time. The instructions were to then try to mount the drive from the GUI so heres what happens when I do that: it attempted to mount it for about a minute then gave me this error message When I tried again heres the error it gave me The problem seems to be that /dev/sda1 can't be mounted for some reason.

I don't know what that error message means and I don't know what else I can do to further diagnose /dev/sda1 and find out why it can't be mounted. Ordinarily I'd just reinstall Ubuntu but I have a couple of lab reports that I had saved on that partition so I'm in trouble if I can't figure out how to access the partition.

EDIT: At the end of that other thread someone recommends to use testdisk to recover the data from the partition. All I really need to do is get those lab reports back but I had them saved inside a Windows 7 guest on Virtual Box. Will this complicate matters a lot for me?

UPDATE: I tried to reinstall Ubuntu and it wouldn't work. Seems this is a bigger problem than I suspected. Does this mean my harddrive is corrupted? I can still use the Windows 7 partition but I take it that the Ubuntu installer not working is a bad sign.

View 3 Replies View Related

Red Hat / Fedora :: Extending Primary Partition - Allocating Space To SDA1

Jun 27, 2010

I have installed oracle enterprise linux on VM ware with 20 gb allocated to guest OS. Now I want to install oracle apps in the guest Os, so I need to extend the volume. I have extended in Vm , but I have to partition in the guest OS, for that purpose I am using Gparted. But I am unable to extend to sda1. I need to have all the unallocation space allocated to sda1. Here is the screen shot, how can I do that. Right now when in press the command df -h in terminal I am gettig 18 gb as space available for sda1, I want to make it 200 gb, in which I would like to install oracle apps. Check out my screen shot.

View 5 Replies View Related

Ubuntu Servers :: Adding AD Domain Users Group?

May 4, 2010

I have server 9.04 and joined thru winbind to Windows Domain and subversion installed.Windows AD users can use their own credentials to join and everything is working fine.However the group svn which is used to access the repos in /etc/groups has some users.However I would like to add the domain users group to the svn group but the domain users contains Space. And /etc/groups does not happend to read the space any ideas on how to add "domain users" to the svn group in /etc/groups

View 1 Replies View Related

Ubuntu Security :: Adding User To Admin Group

Jun 15, 2010

I'm trying to edit a "xl2tpd.conf" file but it always says I have no write permission tried to add my account to admin group but it says something about not able to lock on password try later.

View 3 Replies View Related

General :: Potential - With Adding /usr/local/[s]bin To Root's Path?

Mar 2, 2011

I've noticed that the root account $PATH does not include /usr/local/bin or /usr/local/sbin by default. Are there any potential issues that could arise from adding those directories to the path? If so, what is the best way to make sure your shell finds executables in those directories, without affecting the stability and security of the system?

View 2 Replies View Related

CentOS 5 Server :: Avoid Adding Users To Group Like Wheel?

Jan 7, 2011

i just want to prevent from now on from all users maybe even root from adding other users to groups like wheel for example. I also want to know how can I prevent from all users to create new groups or add users to new one.real

View 2 Replies View Related

General :: Defined Root Partition Not Created A / Boot/efi Partition?

Aug 31, 2010

when I tried to install Fedora on my pc, I got this error message " Defined Root partition not created a / boot/efi partition. I am trying to install it on a seperate hd. My main one has windows xp pro, but I do not want to interfer with that at all?.

View 14 Replies View Related

Ubuntu Installation :: Re Partition Space In Middle Of Drive Without Messing With Windows(sda1&2) And Shared Part

Jul 23, 2010

I've dual booted Ubuntu and Windows for years now and I've installed OSx86 on a separate drive which Grub2 picked up automagically and everything has been working great -- except I'm out of space. So I bought a 1.5 TB drive and installed win7 into sda1 (100MB NTFS bootloader for windows) and sda2 (50 GB NTFS windows drive). I now want to install two or three flavors of Linux. I'm thinking Ubuntu 10.04, Debian 5.05, and (if I'm bold enough) gentoo. each in 50GB partitions. I've already partitioned the drive a bit putting a 1.2 TB shared NTFS partition at the end (sda10), and a 2 GB swap parition just before that(sda9) My questions are:

(1) can all my linux distro's share that 2GB swap, or does each need it's own dedicated swap partition (installers generally assume you do)?

(2) can I re-partition space in the middle of the drive without messing with windows(sda1&2) and the shared part. (sda10)?

View 9 Replies View Related

General :: Adding Unallocated Space To Extended Partition

Aug 13, 2011

My setup is as shown in the image below,i have 170G of unallocated space which id like to add to my Extended partition so that i can create logical partitions.I can only create one primary partition now of 170G which i don't need.Can i boot my machine off a live-cd and a run a gparted and add the unallocated space to the extended partition?

View 9 Replies View Related

General :: Adding Memory From Dedicated Kubuntu Partition Back To Vista

Jan 16, 2010

I decided to remove my Kubuntu partition until I can fully dedicate my time to figuring out linux (right now I need Windows for certain things, i.e. flash and my zune).

I fixed the MBR, but the problem now is I have a 142.77 GB partition of free space. What do I do? Do I just delete it?

When I click delete this is the message I get:
"This is an Extended partition. This partition will become inaccessable if you delete it. Are you sure you want to delete this partition?"

I am essentially asking if this just means the partition will be gone and not the memory, and where the memory goes if I delete the partition.

View 6 Replies View Related

General :: Secondary Group Users Need To Change File Permissions Of Primary Group Files?

Oct 19, 2009

i want secondary users can able to change the files permissions of primary group?user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?

View 3 Replies View Related

General :: Group Member Not Able To Write To Group's File?

Feb 8, 2011

I have a group (GROUP) with a number of users. I recently added a new user (NEW). NEW is able to read but not write group files, whereas all the other users in the group can read and write to the group files. The permissions for the group files indicate that all members of group should have write permission -rwxrwxr-x

/etc/group indicates that NEW is a member of GROUP
...
GROUP:x:501:GROUP,OLD,OLD2,OLD3,OLD4,....,NEW

[code]....

Don't know if it matters, but both OLD and NEW write to the GROUP files over an internet connection. why NEW can't write to GROUP files? Is there a maximum number of members in a group that I might have exceeded?

View 2 Replies View Related

Software :: Add Partition To Software Raid 1 - /dev/sda1 And /dev/sdb1 Do Not Exist ?

Mar 1, 2010

I have just installed a new version of fedora 12 64bit and have setup the following drive configuration -

Code:

But for some reason I am getting dm-1 and dm-3.

How can I change the array so it contains the normal /dev/sda and /dev/sdb disks and partitions?

Why is the system telling me my drives are dm devices? I have no bios raid features on the motherboard.

How do I use md-1 and md-3 partitions?

How do I go back to the traditional /dev/sda and /dev/sdb devices?

By the way the system tells me that /dev/sda1 and /dev/sdb1 do not exist.

View 3 Replies View Related

General :: Security Group Can Be A Member Of Another Group?

Aug 22, 2010

I need to create a group that has the same permissions as the users group. Can I have the new group be a member of the "users" group to inherit its permissions?

View 4 Replies View Related

Ubuntu Installation :: 9.10 - LP Group With No Members Not Even Root

Mar 23, 2010

I recently installed Ubuntu 9.10 and have been trying to set up a USB printer. I hit a problem which I eventually diagnosed as being the ownership of /dev/usb/lp0.

First, the symptom:
~$ cat Test > /dev/usb/lp0
bash: /dev/usb/lp0: Permission denied

The initial diagnosis:
~$ ls -l /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 2010-03-23 21:39 /dev/usb/lp0

Notice the lp group? When I checked group properties, this group did not have any members - not even root! The default for CUPS (from the CUPS doc) is lpadmin, in any case, so not sure what lp is all about. In fact, the 'lp' group has ID=0, the same as the 'root' group.

I fixed it by doing this:
~$ sudo chown root:lpadmin /dev/usb/lp0

Then I noticed that /dev/lp0 and /dev/parport0 also had group=lp, so I also did this:
~$ sudo chown root:lpadmin /dev/lp*
~$ sudo chown root:lpadmin /dev/parport*

View 1 Replies View Related

General :: When Adding Snbpasswd It Returns "failed To Find Entry For User Root"?

Apr 12, 2011

When adding snbpasswd it returns "failed to find entry for user root",who knows why?

View 1 Replies View Related

Server :: Warning: Group Brewbuilder Does Not Exist - Using Root

Jun 27, 2011

I am using redhat 3.0 i want to configure arp-acl mac based blocking to windows clints i have done bellow configuration but finally squd starting error is showing

#rpm -e squid warning: /etc/squid/squid.conf saved as /etc/squid/squid.conf.rpmsave
# rpm -ivh squid-2.6.STABLE6-5.el5_1.3.src.rpm
warning: squid-2.6.STABLE6-5.el5_1.3.src.rpm: V3 DSA signature: NOKEY, key ID 37017186
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root

[code]....

View 9 Replies View Related

General :: Can't Log In / Root Partition Full

Jun 15, 2011

I am having trouble logging into my ubuntu 11.04 desktop. When I type my username and password to login my screen goes blue, as if it is going to next show my desktop wallpaper, but then it loops back to the login screen. I had no idea why and so I went to ALT-F1 and typed in "df" and it turns out that my root partition is full. This is strange since I set aside 40GB for it and I didn't install anything or that many programs that would fill it up. Anyhow, is this fixable by booting to a live cd and using gparted to make root bigger or is there a better way to fix this?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved