Author Topic: Re-installation keeps Hanging during the shutdown (SOLVED)  (Read 346 times)

Offline Cressida

  • Sr. Member
  • ****
  • Posts: 283
Problem was resolved when I reinstalled and used the correct USER ID of 500


-------------------------------------------------------------------------------------------------
Twice now I have installed Pclinux-kde 13.02 from the Live USB and both times all seems to be going well until
I am finished and do the restart.  During the shutdown phase the system hangs and I gives me this message:

INIT: No more processes left in this run level

I am doing the install with my "existing partitions" and I am directing PCL to reformat my "/" partition during the installation.   I don't seem to find anyone else reporting this problem so any ideas how to get over this problem during the shutdown from a new installation?

Both times after waiting an hour, I hard power down and restart and I go through the screens to complete the installation.  I add my user name and enter my User ID of 501 in the "advanced section" on the setting up the user screen in order to use my existing "/home" on the separate partition that is not being changed during the install.  

When I am presented the log in screen with my user name and root choices I attempt to log in with my user name and get the following error message and cannot log in as a user:

"Cannot enter home directory.  Using /"

I can log in (from the log in screen) as the "root" user and from there go into PclCC (control center) and can see me being set up as the only user with the User ID of 501 and home showing "/home/(my username)".  This part looks correct to me.


« Last Edit: March 19, 2013, 07:14:56 PM by Cressida »
AMD Athlon 64 3200, 2GB ram,  ~320 GB HD,  Video=ATI Radeon X300 SE (128mb) PCI-e
KDE     Kern  3.2.18-pclos2.a64

I used to think I knew a lot about computers until I started using Linux.  Now I feel my age...

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: Re-installation keeps Hanging during the shutdown
« Reply #1 on: March 19, 2013, 11:36:10 AM »
Sounds like your /home mount point got broke. It can be fixed, but I'm not sure how to do it.
Here's an example:
http://www.pclinuxos.com/forum/index.php/topic,91415.0.html

In the meantime can you run the following commands from the root terminal? (assumes all of your drives are mounted)

This will give some information to help others, help you.
fdisk -l
cat /etc/fstab
blkid
df

My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6379
  • I'm going South
Re: Re-installation keeps Hanging during the shutdown
« Reply #2 on: March 19, 2013, 12:32:01 PM »
Add

ls -la /home

to docnascar's list of commands. That would show us the permissions of both /home and /home/<yourname>. If both the user name and the user id are correct that would be the next thing to check.
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Cressida

  • Sr. Member
  • ****
  • Posts: 283
Re: Re-installation keeps Hanging during the shutdown
« Reply #3 on: March 19, 2013, 02:17:54 PM »
Add

ls -la /home

to docnascar's list of commands. That would show us the permissions of both /home and /home/<yourname>. If both the user name and the user id are correct that would be the next thing to check.


[root@localhost ~]# df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              38G  5.0G   31G  15% /
/dev/sda6              59G   14G   46G  24% /home

[root@localhost ~]# ls -la /home
total 32
drwxr-xr-x  5 root root  4096 Mar 19 08:31 ./
drwxr-xr-x 22 root root  4096 Mar 19 09:48 ../
drwx------ 43  500  500  4096 Mar 18 23:38 james/
drwx------  3  500  500 16384 Nov  9  2010 lost+found/
drwxr-xr-x  7 root root  4096 Jun 25  2012 mysql/

[root@localhost ~]# cat /etc/fstab
# Entry for /dev/sda1 :
UUID=3cfe5bd3-083f-4036-939e-5db0785d95e5 / ext2 defaults 1 1
# Entry for /dev/sda6 :
UUID=2fb347a6-5760-407d-b118-cda9d0fbc37f /home ext4 defaults 1 2
none /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=8858bf4a-53d8-4a10-b8b8-e567c9c53897 swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
[root@localhost ~]#
-----------------------------------

1.  Is that bold line above showing me that my user ID should have been entered as 500 instead of the 501 that I used - thinking that was the first number that PCL assigned ? (If so, glad to learn about this new (to me) command)

2.  Can I just go into PCC (control panel) now (as root user) and change my User ID to 500 and reboot to get it to pick up my /home partition or should I do another format of "/" and reinstall from scratch adding the correct 500 (instead of the 501 I entered) ?

I thought I'd ask before changing it to avoid creating more of a problem and since I am not for sure.



AMD Athlon 64 3200, 2GB ram,  ~320 GB HD,  Video=ATI Radeon X300 SE (128mb) PCI-e
KDE     Kern  3.2.18-pclos2.a64

I used to think I knew a lot about computers until I started using Linux.  Now I feel my age...

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6379
  • I'm going South
Re: Re-installation keeps Hanging during the shutdown
« Reply #4 on: March 19, 2013, 04:39:08 PM »
Add

ls -la /home

to docnascar's list of commands. That would show us the permissions of both /home and /home/<yourname>. If both the user name and the user id are correct that would be the next thing to check.


[root@localhost ~]# df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              38G  5.0G   31G  15% /
/dev/sda6              59G   14G   46G  24% /home

[root@localhost ~]# ls -la /home
total 32
drwxr-xr-x  5 root root  4096 Mar 19 08:31 ./
drwxr-xr-x 22 root root  4096 Mar 19 09:48 ../
drwx------ 43  500  500  4096 Mar 18 23:38 james/
drwx------  3  500  500 16384 Nov  9  2010 lost+found/
drwxr-xr-x  7 root root  4096 Jun 25  2012 mysql/

[root@localhost ~]# cat /etc/fstab
# Entry for /dev/sda1 :
UUID=3cfe5bd3-083f-4036-939e-5db0785d95e5 / ext2 defaults 1 1
# Entry for /dev/sda6 :
UUID=2fb347a6-5760-407d-b118-cda9d0fbc37f /home ext4 defaults 1 2
none /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=8858bf4a-53d8-4a10-b8b8-e567c9c53897 swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
[root@localhost ~]#
-----------------------------------

1.  Is that bold line above showing me that my user ID should have been entered as 500 instead of the 501 that I used - thinking that was the first number that PCL assigned ? (If so, glad to learn about this new (to me) command)

Yes. It is.

Quote
2.  Can I just go into PCC (control panel) now (as root user) and change my User ID to 500 and reboot to get it to pick up my /home partition or should I do another format of "/" and reinstall from scratch adding the correct 500 (instead of the 501 I entered) ?

Changing your user ID in PCC should be enough. (While you're at it, check your group ID too. In this case it should also be 500.)

(You could of course change the owner of /home/james instead - to 501 or james - but changing james's UID to 500 is tidier.)

Quote
I thought I'd ask before changing it to avoid creating more of a problem and since I am not for sure.

Edit: It's a bit strange that your /home/lost+found is also owned by UID 500. I don't think it matters much, but normally it would be owned by root.
« Last Edit: March 19, 2013, 05:34:09 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D