Debian Installation :: Log In As Root In OS?

Mar 26, 2010

i have probleme when i want to log in as root in my OS "DEBIAN 5.04"

View 4 Replies


ADVERTISEMENT

Debian :: Run An Installation With Other Users Not Root

Mar 3, 2011

I have downloaded a package when i have logged in with a user that is not root. I download the package and it is under the folder "Downloads". When i try to unzip the package it sägs that the user does not have the priveliges to run the command. When i change to the root with the command "su -" i cannot see the package to unzip it from the root user prompt. What shuold i do?

View 7 Replies View Related

Debian Installation :: How To Get UUID For Root In Grub CFG

Mar 15, 2015

I am running Wheezy as my main OS in the first drive in my desktop. I use the 2nd drive for data. I am trying to add another OS to multiboot. When I ran grub-update in Wheezy, I am getting device letter for the root device instead of UUID in grub.cfg, in the os-prober section. Like this

Code: Select allsearch --no-floppy --fs-uuid --set=root 6ee49a8e-a619-49c7-9f66-51a5ca9a48cc
   linux /boot/vmlinuz-316-x86_64 root=/dev/sdb3
   initrd /boot/initramfs-316-x86_64.img

In the same file, UUID was used for the existing kernels.

Code: Select alllinux   /boot/vmlinuz-3.2.0-4-686-pae root=UUID=c2eecf02-d427-4f2e-9fd0-9db61256cbac ro  quiet
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.2.0-4-686-pae

How can I get UUID instead of /dev/sdb3 for the 2nd OS?

View 3 Replies View Related

Debian Installation :: Different Locales For Root And Users

Mar 30, 2015

I've just installed a Debian wheezy and I'm experiencing some issues regarding the "locales". No matter what I've tried (ran "dpkg-reconfigure locales" and restarted my session, edited "/etc/default/locale" then ran "locale-gen") to update the locales, running "locale" in a root shell or as a regular user returns different results.

In a root shell, the result is the right one (similar to "/etc/default/locale").

I do not understand why locales values are different in one case or another.

As a side question, what is the correct syntax for /etc/default/locale ? Is it case sensitive (I've encountered "en_US.utf8" and "en_US.UTF-8") ? Are double quotes mandatory (encountered values with or without double quotes) ?

user@pc ~ cat /etc/default/locale

Code: Select all#  File generated by update-locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=en_GB.UTF-8

[Code] ....

View 4 Replies View Related

Debian Installation :: Can't Boot As Root In Gnome?

Jul 15, 2010

I installed Debian 5.0.2 about a year ago, my first encounter with Debian and first serious look at Linux. I never got it right. Some software wouldn't work after installing. This week I decided to just start all over. I installed Debian 5.0.5 on a second disk. I seems to be better. Software that failed before works now!

Problem 1:
I ended up with two possible boot up choices in GRUB, but they both run 5.0.5 w/ Gnome. Why two? How do I know which to keep and how do I get rid of the other?

Problem 2:
Previously, I could boot into a command console by interrupting the normal boot. I don't get that chance now. It goes right to Gnome. I can't boot as root in Gnome. How do I get on as root?

View 14 Replies View Related

Debian Installation :: Squeeze Won't Take Root Password ?

Jan 19, 2011

I finally got Sueeze installed and it works great for my user account. It won't accept my root password and so I can not do anything as root. This is strickly a home desktop setup and I am the only user. I have a working Ubuntu 10.10 in the ajacent partition. How can I change (or reinstall) my root password. Everything I've found says to boot single user and I have, but I still need the root password in Debian.

View 3 Replies View Related

Debian Installation :: User Login Fails / Root Ok

May 26, 2015

Debian 8/Cinnamon fresh install. /home is being shared with two other OS's, Mint and openSUSE. At the login screen I enter my user name and password and the screen blacks for 1-2 seconds and comes back asking for user name and password. I can login as root. As root I can launch the Group & Users GUI and attempt to set the user's password, and pressing the 'change' button does nothing obvious.

I can set the user's password in a terminal, which reports success. I tried to switch users and login with the changed password and I get the same failure. If I try to login with the original password I get an incorrect password error, suggesting that the password is being processed properly and the problem is elsewhere.

On previous installs with Mate and the default desktop (Gnome) I didn't have this problem. So, the questions are: Is it Cinnamon? Is it an unlucky chance bad install? Config files are typically in /home, which is being shared with Mate and KDE, is this the problem?

View 3 Replies View Related

Debian Installation :: LUKS On Root Killed By Apt-get Update

Sep 24, 2015

Root LUKS to be broken by apt-get update? This did happen to me on 3 different laptops, both on previous install (from Debian 8.0), and also on clean installs (Debian 8.1), repeatedly.

When I reboot, grub starts, but then it cannot find the root file system (I end up with the emergency console).

Code: Select allLoading Linux 3.16.0-4-amd64 ...
Loading initial ramdisk ...
Loading, please wait...
[many seconds waiting]
ALERT! /dev/mapper/sda2_crypt does not exists.
modprobe: modprobe ehci-orion not found in modules.dep

This is the most simple, clean, conservative install ever, no closed driver.

But LUKS on the root file system:

Code: Select allone ext4 partition on /boot
one ext4 partition on / (trough LUKS, all defaults)

There is no LVM.

All the 3 laptops killed at different time, when updating. Clean install is fine until the first update.

Booting on the rescue system allows me to see everything.

Code: Select all$ update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
No volume groups found

How can I recover from this?

View 5 Replies View Related

Debian Installation :: User Password Rejected And Have To Login As Root

Oct 28, 2014

Suddenly Debian started rejecting my user pw and I have to login as root. Perhaps this is a coincidence, but this started when I re-booted after adding Russian keyboard layout in etc/default/keyboard. The Russian keyboard added successfully.

Being logged in as root, renewed the pw of my user account (actually assigned the same as wes previously), got confirmation the the pw has been changed. Reloaded. Yet it keeps complaining that the pw is wrong.

View 8 Replies View Related

Debian Installation :: Clone Root System And Make It Bootable?

Aug 10, 2010

Running Squeeze here. I added a new SSD to my system. Root is /dev/sda3 and I want to clone that system to the new SSD on /dev/sdb1 and make it bootable. I tried:

mount /dev/sdb1 /mnt/ssd_root
cp -dpRx / /mnt/ssd_root

then

update-grub

or

grub-install --recheck --root-directory=/mnt/ssd_root /dev/sdb

but to no avail. I cannot get the new system to be bootable and available through Grub. Part of the problem is that I do not know my way around Grub v2 so well, I could probably manage quite well with legacy grub. So, whats the easiest way to clone a system and make it bootable on another partition? Should I be using debootstrap, and importing/exporting the package list to install the same packages on the new system as the old? or is using cp -dpRx to copy the old ok? How do I make the new system boot?

View 9 Replies View Related

Debian Hardware :: HPLIP Installation Hangs After Root Password

Jul 1, 2015

I have tried to install the newer version of hplip on Debian 7.8 because the standard version does not support my printer.

So I proceeded the installation according to the instructions in hplipopensource.com, but the installation hangs after I enter the root password as this image: [URL] ....

View 1 Replies View Related

Debian Installation :: Encrypted LVM Install - No Root File System Detected

Jun 1, 2013

I'm a long time user of Debian, but I'm having trouble with my partitioning process. Here is where I currently stand:

I am installing the latest Wheezy build. I am trying to install debian with an encrypted LVM that spans two hard disks.

My partitioning layout is as:

1. /home
2. /root
3. swap
4. /boot

I then added partitions 1, 2 and 3 to a physical volume group. I then took that physical volume group and added it to a logical volume. Then I encrypted the logical volume, leaving the /boot partition untouched. I was under the assumption that the only partition the system needed free to reach the loading of the LVM is the /boot partition, as it holds the files necessary for booting. But when I attempt to finalize the disk, it gives an error stating, "No root file system detected". That would be an issue as it is currently sitting inside the encrypted LV. Am I wrong in including the root partition in the encrypted LV?

What is the best way of having as little of my file system non-encrypted as possible while still allowing a proper boot?

View 9 Replies View Related

Debian Installation :: Manually Booting From GRUB Console Into Crypt -> LVM -> Root

Feb 21, 2015

I'm trying to manually boot (from the GRUB console) into a system set up as follows: crypt partition -> LVM -> root LV, and I'm having some trouble figuring out how to do this from the GRUB console.

I have successfully manually booted a system which is set up as just LVM -> VG -> root LV. All I have to do is load the LVM module. In GRUB, that partition shows up as (hd0,gpt5). Once I load the GRUB LVM module, I can see the logical volume within the LVM as well. (My volume group name is "caesar", and the single logical volume is named "root".)

Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod lvm
grub> ls
... (lvm/caesar-root) ...

It's fairly simple to manually boot:

Code: Select allgrub> set root=(lvm/caesar-root)
grub> linux /vmlinuz root=/dev/mapper/caesar-root
grub> initrd /initrd.img
grub> boot

Where I am having difficulty is in trying to insert crypt before LVM. I can set up such a scheme, and put a minimal installation on it, without issues. It's booting into it upon reboot that I can't figure out. Once I load the GRUB crypto, cryptodisk and luks modules, I can mount the crypto partition:

Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod crypto
grub> insmod cryptodisk
grub> insmod luks
grub> cryptomount (hd0,gpt5)

Attempting to decrypt master key...
Enter passphrase for hd0,gpt5 (<long hex string here>): <type my password>
Slot 0 opened
grub> ls
... (crypto0) ...

At this point, GRUB sees the crypto partition as (crypto0). But the GRUB LVM module doesn't see "inside" of the crypto partition, so I don't see the root logical volume within the LVM listed; all I see is (crypto0).

Code: Select allgrub> insmod lvm
grub> ls
... (crypt0) ...

Setting it as root doesn't work:

Code: Select allgrub> set root=(crypto0)
grub> ls /
error: disk `crypto0' not found.

So, How do I get GRUB to "see" LVM inside the crypto partition?

View 0 Replies View Related

Debian Installation :: Keep Home And Var Partitions Intact And Just Reinstall Everything In Root (/) Partition

Apr 4, 2010

Ok. I have a media server running debian amd64. when I installed it I made separate partitions for root (/) home (/home) var (/var) and swap.

I'm adding some new hardware (mobo and ram) and want to reinstall debian. I would like to keep my home and var partitions intact and just reinstall everything in root (/) partition.

I'm unsure of how to do this during the installation. Do i need to format? how do I tell it to use the /var and /home partitions?

View 4 Replies View Related

Debian Installation :: New Kernel - Unable To Mount Root FS On Unknown Block

Jul 30, 2011

I used make-kpkg to generate bzImage from 2.6.39-3-686. After update-grub and booting the new vmlinuz system. I get:

"kernel panic - not syncing:
VFS: unable to mount root fs on unknown block(0,0)".
grub.cfg shows new entry
'linux/boot/vmlinuz-2.6.39.3-686 root=/dev/sda1 ro quiet'
but previous working shows
'linux/boot/vmlinuz-2.6.32-5-686 root=UUID=210a363d-c0ed-4005-b6e8-bbc
aeb7abe54 ro quiet'

Am I missing a step? (or two?). Is it possible to do this from 2.6.32? Currently running Debian-6.0.2.1-i386-DVD-1, Squeeze, /release/current/ 20110626-15:45 on a SATA 1T hd.

View 3 Replies View Related

Debian :: Root Access And Desktop Disabled \ Couldn't Open The Root Terminal?

Feb 19, 2011

I was using the latest stable release of Debian, dual-booted alongside Windows Vista, with the GNOME desktop, installed via netinst, trying to build and install a library that I knew and trusted, when suddenly I couldn't open the Root Terminal. I clicked the link (in Applications->Accessories (I think, whatever the top one is)->Root Terminal), and in the taskbar I saw an item that said "Starting Root Terminal". A few seconds later, that went away, but the terminal still wasn't open. I tried the regular user terminal, to see the same thing happen. Unsure of what was happening, I tried restarting my computer, since that's always the first step you should take in computer problems.

When I restarted, GNOME wouldn't start. The screen would flash a bit for a few seconds, then a dialog box would appear over a background of static that said "The greeter application is crashing. Attempting another one...".t would then go back to the DOS-style kernel, wait a second, and then the same thing would happen. After several of that, I would get a blue screen which said something to the effect of "It has been detected that the desktop environment has crashed six times in the past 30 seconds.

Waiting two minutes before trying again." When it did that, I tried logging in as root to assess the problem. I gave it the correct password, but it said that it was an incorrect login. After several tries (to ensure I didn't mistype the password), I logged in as myself. Same problem. I tried the su command, with the correct password, and it said it couldn't authorise it.

After a lengthy conversation with a friend of mine who was very good with computers, he basically summarised that he had no clue, but that his best guess would be a virus. Upon running the Linux installer, I found the Repair option. Not being particularly familiar with Linux, I used it simply to backup my important files onto a flash drive. I then tried running the Install option, in an attempt to simply write over my existing Linux and make it new again. The installer, however, consistently froze up when trying to start the partitioner, on the "Checking disks..." stage. I figured it was a problem with my partition. In my naivete, I simply used the Windows tools to clear that partition... It destroyed GRUB too, so I couldn't run any OS. I figured my computer was pretty well screwed, and at that point just decided to bring it into the shop and have them completely wipe it.

my computer was backed up onto an external hard driven I brought it back, I reinstalled Windows. Upon restart, it said that it was still looking for GRUB, which made no sense to me. After messing around with it a bit, I decided to just reinstall Linux too. To my lack of surprise, that fixed the problem. Both OS' now ran just fine. The first thing I did on Debian was to install the Clam Anti-Virus, which I understood to be one of the best Linux anti-viruses. However, within about 10 hours, got the same problem as originally. I wasn't doing any of the same things, and between the lack of consistency in activities and the fact that I had an anti-virus running,figured it wasn't a virus. Not knowing what to do, I just left it and have been using Windows since.

View 8 Replies View Related

Debian Installation :: Mount Root Filesystem Failed: Device Or Resource Busy

Jun 16, 2010

I've upgraded my squeeze box to linux kernel 2.6.32-5. But it shows mounting "here is the uuid of / " on /root failed: Device or resource busy while booting.Here is the menuentry of linux kernel 2.6.32-5.

[code]....

View 9 Replies View Related

Debian Installation :: Sqeeze / Wheezy Boot Fails Waiting For Root Device

Jun 20, 2011

I've installed squeeze and wheezy on an old Toshiba Satellite 210 CS laptop with 48MB RAM and a 20GB IDE harddrive.Grub2 won't boot at all and stops with a "error: cannot allocate real mode pages". The solution to that is to use the grub-legacy package.The boot then fails with "waiting for root device" and drops to an initramfs shell.

View 5 Replies View Related

Debian :: Root Login Without Setting Root Password

May 14, 2015

I edited fstab to automatically mount my windows data partition on boot, but I screwed it up by not specifying the file system type, however that is not the problem, I was able to fix that easily. The problem was that when it failed to mount the partition, Debian automatically entered root and I guess that is to be expected in order for me to fix it, but I never configured a root password and it just gave me full root access without asking any password, not even my user password. I though that was strange so I set the root password and sure thing it asked me for the root password this time without automatically logging into root....

I then tried to lock the root account to see if it will ask me for a password or not, it did but of course I wasn't able to login as root because it was locked now and I was left with no way to access the system. I had to fix fstab from a live cd so that I can login normally as the user....

I didn't know what to search for or if that is the expected behavior if you don't set root password during installation, but it just seemed a bit strange to automatically enter root when you specifically disable root login during installation...

View 1 Replies View Related

Debian Installation :: Unable To Login As Specific User - Machine Not Accepting Root Password

Jul 31, 2014

Having installed Debian 7 on an old machine from a Liinux Format Magazine DVD I was unable to log in as a specific user. I can login as root and use useradd etc but when I logout of root I still cannot login as a user and nor will the machine accept my root password. I have to shutdown and reboot to get back into root. I'm using O'Reilly's Linux Pocket Guide from 2004 for the commands. Could it be that things have changed?

View 9 Replies View Related

Debian :: 506-amd64 DVD Installation - Error "kernel Panic -not Syncing:VFS: Unable To Mount Root Fs On Unknown Block(253, 52)"

Oct 4, 2010

I am trying to install debian on my windows PC but am receiving some errors with it. I have downloaded "debian-506-amd64-DVD-1.iso" from debian website and am seeing that the md5 sum is correct. I am getting following error when I choose Graphical Install or install.

[ 1.480788] crc error
[ 1.569788] kernel panic -not syncing:VFS: Unable to mount root fs on unknown block(253, 52)

Description of my PC: I have 2 hard disks

1. IDE hard disk (80 GB) -> windows is on this drive
2. SATA hard disk(250GB) -> I intend to install debian on this drive.
3. MSI motherboard & AMD 64 processor with 1 GB RAM.
4. NVidia external graphics card based on AGP slot(256 MB)

EDIT:: This time I got one more error message prior to the 2 shown above [some number] PCI:Cannot allocate resource region 0 of device 0000:00:00.0

View 6 Replies View Related

Debian :: Can't Change Permissions For The HDD Without Login On Root And Root Login Are Not Allowed?

Jun 16, 2010

How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .

View 10 Replies View Related

Debian :: Install Debian Root Into Software Raid Partitions Sda2 And Sdb1?

Mar 2, 2011

I got two harddisks, sda and sdb. Is it possible to install Debian root into software raid partitions sda2 and sdb1 leaving all other partitions 'normal' (not-raid)? do partitions sda2 and sdb1 need to be exact same size and position?

View 4 Replies View Related

Debian :: Auto Login As Root In Debian Lenny?

Oct 2, 2009

is there a way to auto login as root? login in window preferences won't allow me to select rootPS before anyone starts on the me bad, I'm a programmer using it on a closed embedded system, and need to link to others software, and need to be root

View 6 Replies View Related

Debian Installation :: 5.05 Boot Up Error "Gave Up Waiting For Root Device" (Won't Boot)

Jul 11, 2010

When I boot off of Debian Kernel 2.6.26-2-686. This is what happens. It stops at attached scsi generic sg5 type 0 After 4 or 5 minutes it comes back and says.

Gave up waiting for root device. Common problems Boot args (cat /proc/cmdline) Check Root= (did the system wait for the right device) Missing modules (cat /proc/modules; ls /dev Alert /dev/sdd8 does not exist dropping to shell /bin /sh: can't access tty; job control turned off If I boot off Debian Kernel 2.6.26-2-686 (single user mode) Then use Control-D it boots fine.

View 1 Replies View Related

Debian :: Can't Run Mc As Root

Apr 29, 2011

for some time now (since some update) I can't run mc as root. I get only this:No protocol specified and mc seems to wait for something (nothing else is showing, mc doesn't exit by itself).Does anybody know a solution for this?Using Debian wheezy/testing.

View 5 Replies View Related

Debian :: Is Root Login To GUI Possible?

Aug 11, 2011

I can login as root into GUI (X, openbox). But, I found some persons said that with debian one cannot login as root to desktop (GUI).
viewtopic.php?f=30&t=68228#p387712
viewtopic.php?f=30&t=68228#p387737

I installed debian squeeze with linux and initrd.gz for i386 using internet. At the tasksel, I uncheck all the entries. After finishing the installation, I rebooted and installed xorg, iceweasel, iceweasel-l10n-ja, menu, menu-l10n, alsa, openbox, obconf, scim-anthy, pcmanfm, leafpad, sux, and so on. I know that root login to GUI is not so secure and should not be done.

View 10 Replies View Related

Debian :: Want To Set Root Password

May 4, 2011

Want to set root password.i don't have any idea as from where to get a root password. as I have freshly install Ubuntu10. Sudo cmd is working out.How to go in single user mode in Ubuntu.

View 5 Replies View Related

Ubuntu Installation :: Root Password For Software Installation?

Mar 19, 2010

I've recently had Ubuntu installed onto my Acer laptop after everything went haywire with it (a long story, which I won't bore you with). I've used ubuntu for about a year now, and never had this problem before:

I can install programs through the terminal, using sudo apt-get and my user password, but when I try to install anything through the Software Centre I get a message (see attached screenshot) asking for the root password for the 'superuser'. Now, I don't remember setting such a password, and if I did, I will have used on of my regular passwords (none of which work here). What's going on, and how can I solve the problem?

View 5 Replies View Related

Debian :: Automatically Start Graphical (SDL) Program As Root On Non-graphical Debian?

Mar 3, 2009

I'm not a Linux noob, but I am far from guru. I'm running a single board computer with a slightly customized Debian Etch (customized by the SBC vendor). No Gnome/KDE/X installed. My application is a control application which uses SDL (Simple DirectMedia Layer) to paint some basic graphics on the VGA. I need to run it as root because the application calls iopl() to access an IO port.If I run my application manually from the command line, life is sweet. From Googling around, I found http://www.debian-administration.org/articles/28, and hence I:1) Created a script in /etc/init.d2) Executed "update-rc.d scriptName defaults" to link the script into the boot sequenceAll very straightforward. My application starts at boot. But when I try to SSH/SFTP into the SBC, I get "Connection refused". So I can't manage the SBC anymore, and this is a big problem. I am not sure if it's relevant, but my application starts before the SSH daemon.My script looked like:

case "$1" in
start)
echo "Starting my application"

[code]...

View 1 Replies View Related







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