Can not enter home directory

I get this error when I boot opensuse default and fail safe. It takes me to a console log in, which works. This happened after new kernel install in Linux Mint, which is unbootable atm. I can boot windows, bsd but no Linux.

Are you using grub 2 to boot with then?

avenuemax wrote:
> I get this error when I boot opensuse default and fail safe. It
> takes me to a console log in, which works. This happened after new
> kernel install in Linux Mint, which is unbootable atm. I can boot
> windows, bsd but no Linux.

is “Can not enter home directory” the error you get?
when does that come up?

does it come up and THEN you land at a console prompt to log in?

when you say “which works” do you mean you can log in as yourself, and
do what? (move around inside your /home as yourself, or maybe issue
startx from the prompt—what??)

are either of your Linux partitions full, or very near full?

have you logged into KDE/Gnome/etc as root and moved around inside
your home?

from the console log in which works please replace [you] with your
user ID below and type/enter this:


ls -hal /home/[you]/.*authority

you will get an output something like this


-rw------- 1 [you] users ... /home/[you]/.ICEauthority
-rw------- 1 [you] users ... /home/[you/.Xauthority

copy that output back to this list, please…


Enjoy Packman’s benefits? Show your appreciation by donating at
http://se.unixheads.org/?donate

DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Carl,

As per your suggestion, I installed grub2 and updated grub by

sudo update-grub & sudo grub-install dev/hda

It worked till yesterday when I decided to update Mint and later it got screwed.

My partitions are not full. I can boot windows and bsd normally. The error comes at the time of booting suse. When I choose to log in fail-safe I get an error

Can not enter home directory using /.
&
Kstarupconfig4 does not exist or fails
&
The error code is 3

ls -hal /home/david/.*authority
returns no such file or directory.

I get Grub error 13 when I choose to boot Mint.

Did you try to re-install grub 2 with the Mint cd
Mint should then boot, then run sudo update-grub from Mint

The suse issue may be more complicated, as I suspect even if you get Mint booting - you’ll still get this same error with suse.

Here is a *Ub guide
https://wiki.ubuntu.com/Grub2#Recover%20Grub%202%20via%20LiveCD

Carl,

thanks for the link. will this fix suse boot issue. suse boot issue is more important for me than booting and fixing mint. i am all set to kick out grub2 and install fedora over mint partition.

I don’t think it will fix the SUSE issue.
If you install Fedora it’s more than likely it will switch the boot flag to it’s root and grub to MBR. I installed in one time and asked it not to install a bootloader but it still switched the boot flag on me, so watch it. I just booted Parted M and changed the flag and it was fine. I then wrote code to menu.lst in SUSE to boot Fedora

Your SUSE problem will need some investigating. Possibly we need to see /etc/fstab
and : fdisk -l

I guess fstab is the issue. i am on other desktop atm. will post fdisk later.

@Carl, here is fdisk

mint@mint ~ $ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007d4a8

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5222 41945683+ 7 HPFS/NTFS
/dev/sda2 9139 33691 197221972+ 7 HPFS/NTFS
/dev/sda3 5223 9138 31454829 a5 FreeBSD
Partition 3 does not end on cylinder boundary.
/dev/sda4 * 33692 38913 41945653 5 Extended
/dev/sda5 36042 36563 4192965 82 Linux swap / Solaris
/dev/sda6 33692 34631 7550487 83 Linux
/dev/sda7 34632 36041 11325793+ 83 Linux
/dev/sda8 36564 38913 18876343+ 83 Linux

Partition table entries are not in disk order

I ran boot info script in order to examine the whole thing, here is the output -

                Boot Info Script 0.55    dated February 15th, 2010                    

============================= Boot Info Summary: ==============================

 => Acer 3 is installed in the MBR of /dev/sda
 => Syslinux is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   

sda3: _________________________________________________________________________

    File system:       ufs
    Boot sector type:  Unknown
    Boot sector info:  
    Mounting failed:
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


sda4: _________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Grub
    Boot sector info:  Grub 0.97 is installed in the boot sector of sda4 and 
                       looks at sector 541796697 of the same hard drive for 
                       the stage2 file. A stage2 file is at this location on 
                       /dev/sda. Stage2 looks on partition #6 for 
                       /boot/grub/menu.lst.

sda5: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:  

sda6: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Welcome to openSUSE 11.2 
                       "Emerald" - Kernel ().
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

sda7: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files/dirs:   

sda8: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Linux Mint 9 Isadora
    Boot files/dirs:   /etc/fstab

sdb1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *             63    83,891,429    83,891,367   7 HPFS/NTFS
/dev/sda2         146,801,970   541,245,914   394,443,945   7 HPFS/NTFS
/dev/sda3          83,891,430   146,801,087    62,909,658  a5 FreeBSD
/dev/sda4    *    541,246,039   625,137,344    83,891,306   5 Extended
/dev/sda5         578,998,665   587,384,594     8,385,930  82 Linux swap / Solaris
/dev/sda6         541,246,041   556,347,014    15,100,974  83 Linux
/dev/sda7         556,347,078   578,998,664    22,651,587  83 Linux
/dev/sda8         587,384,658   625,137,344    37,752,687  83 Linux


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 261 MB, 261750784 bytes
16 heads, 32 sectors/track, 998 cylinders, total 511232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sdb1    *             32       510,974       510,943   7 HPFS/NTFS


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/loop0                                              squashfs                                 
/dev/sda1        79C332AC3B624E50                       ntfs       Windows 7                     
/dev/sda2        0C49EA7C3A69BA10                       ntfs       Storage                       
/dev/sda3                                               ufs                                      
/dev/sda4: PTTYPE="dos" 
/dev/sda5        170a48cd-3c79-4614-9c30-90b714d0cb4d   swap                                     
/dev/sda6        59ded727-ba4a-4e37-b776-e11f074aa153   ext4                                     
/dev/sda7        c3e5d608-1fbb-4d03-96d2-20be98705cbc   ext4                                     
/dev/sda8        4d01404f-4574-48ae-8f84-9472bb36facf   ext4                                     
/dev/sda: PTTYPE="dos" 
/dev/sdb1        6E2C56BA2C567D51                       ntfs                                     
/dev/sdb: PTTYPE="dos" 

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

aufs             /                        aufs       (rw)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)
/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /media/6E2C56BA2C567D51  fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)


=========================== sda6/boot/grub/menu.lst: ===========================

# Modified by YaST2. Last modification on Mon Jul 19 19:45:09 SGT 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part6    repair=1 resume=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part5 splash=silent quiet showopts vga=0x317
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part6 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: other###
title Windows7 Enterprise Edition x64
    rootnoverify (hd0,0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: other###
title PC BSD
    rootnoverify (hd0,2)
    chainloader +1

=============================== sda6/etc/fstab: ===============================

/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part5 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part7 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part8 /home                ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part1 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part2 /windows/D           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part6 /windows/E           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part6 /data2               ext4       defaults              1 1
/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part6 /data3               ext4       defaults              1 1
/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part6 /data4               ext4       defaults              1 1
/dev/disk/by-id/ata-ST3320418AS_9VMD0YPT-part6 /data5               ext4       defaults              1 1

=================== sda6: Location of files loaded by Grub: ===================


 279.8GB: boot/grub/menu.lst
 277.3GB: boot/grub/stage2
 277.9GB: boot/initrd
 277.9GB: boot/initrd-2.6.31.12-0.2-desktop
 279.2GB: boot/vmlinuz
 279.2GB: boot/vmlinuz-2.6.31.12-0.2-desktop

=============================== sda8/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda8 during installation
UUID=4d01404f-4574-48ae-8f84-9472bb36facf /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=170a48cd-3c79-4614-9c30-90b714d0cb4d none            swap    sw              0       0

=================== sda8: Location of files loaded by Grub: ===================


 311.6GB: boot/initrd.img-2.6.32-21-generic
 311.6GB: boot/vmlinuz-2.6.32-21-generic
 311.6GB: initrd.img
 311.6GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda3

00000000  eb 3c 00 00 00 00 00 00  00 00 00 00 02 00 00 00  |.<..............|
00000010  00 00 00 00 00 00 00 00  12 00 02 00 00 00 00 00  |................|
00000020  00 00 00 00 00 16 1f 66  6a 00 51 50 06 53 31 c0  |.......fj.QP.S1.|
00000030  88 f0 50 6a 10 89 e5 e8  c0 00 8d 66 10 cb fc 31  |..Pj.......f...1|
00000040  c9 8e c1 8e d9 8e d1 bc  00 7c 89 e6 bf 00 07 fe  |.........|......|
00000050  c5 f3 a5 be ee 7d 80 fa  80 72 2c b6 01 e8 60 00  |.....}...r,...`.|
00000060  b9 01 00 be be 8d b6 01  80 7c 04 a5 75 07 e3 19  |.........|..u...|
00000070  f6 04 80 75 14 83 c6 10  fe c6 80 fe 05 72 e9 49  |...u.........r.I|
00000080  e3 e1 be a2 7d eb 4b 31  d2 89 16 00 09 b6 10 e8  |....}.K1........|
00000090  2e 00 bb 00 90 8b 77 0a  01 de bf 00 c0 b9 00 ae  |......w.........|
000000a0  29 f1 f3 a4 fa 49 74 14  e4 64 a8 02 75 f7 b0 d1  |)....It..d..u...|
000000b0  e6 64 e4 64 a8 02 75 fa  b0 df e6 60 fb e9 50 13  |.d.d..u....`..P.|
000000c0  bb 00 8c 8b 44 08 8b 4c  0a 0e e8 5a ff 73 2a be  |....D..L...Z.s*.|
000000d0  9d 7d e8 1c 00 be a7 7d  e8 16 00 30 e4 cd 16 c7  |.}.....}...0....|
000000e0  06 72 04 34 12 ea 00 00  ff ff bb 07 00 b4 0e cd  |.r.4............|
000000f0  10 ac 84 c0 75 f4 b4 01  f9 c3 2e f6 06 b0 08 80  |....u...........|
00000100  74 22 80 fa 80 72 1d bb  aa 55 52 b4 41 cd 13 5a  |t"...r...UR.A..Z|
00000110  72 12 81 fb 55 aa 75 0c  f6 c1 01 74 07 89 ee b4  |r...U.u....t....|
00000120  42 cd 13 c3 52 b4 08 cd  13 88 f5 5a 72 cb 80 e1  |B...R......Zr...|
00000130  3f 74 c3 fa 66 8b 46 08  52 66 0f b6 d9 66 31 d2  |?t..f.F.Rf...f1.|
00000140  66 f7 f3 88 eb 88 d5 43  30 d2 66 f7 f3 88 d7 5a  |f......C0.f....Z|
00000150  66 3d ff 03 00 00 fb 77  9d 86 c4 c0 c8 02 08 e8  |f=.....w........|
00000160  40 91 88 fe 28 e0 8a 66  02 38 e0 72 02 b0 01 bf  |@...(..f.8.r....|
00000170  05 00 c4 5e 04 50 b4 02  cd 13 5b 73 0a 4f 74 1c  |...^.P....s.Ot.|
00000180  30 e4 cd 13 93 eb eb 0f  b6 c3 01 46 08 73 03 ff  |0..........F.s..|
00000190  46 0a d0 e3 00 5e 05 28  46 02 77 88 c3 52 65 61  |F....^.(F.w..Rea|
000001a0  64 00 42 6f 6f 74 00 20  65 72 72 6f 72 0d 0a 00  |d.Boot. error...|
000001b0  80 90 90 90 90 90 90 90  90 90 90 90 90 90 00 00  |................|
000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 00  |................|
000001f0  01 00 a5 fe ff ff 00 00  00 00 50 c3 00 00 55 aa  |..........P...U.|
00000200


It shows lots of stuff, how do I get this right.

I’ll have to look at this later, I am busy with work ATM.
I need to know what you are planning as you PM’d me saying you were re-installing.
It’s all a Rat’s nest at first glance and it will take me time to get my head round it.

In the mean time, feel free to take advice offered by others. There are plenty of us that can help.

I prefer a reinstall for BSD (boundary error) and Linux. Installing BSD isnt a problem since I can make it without its boot loader. Need to know what not to do at the time of Grub2 based OS install. I can wait for 2-3 days, please take your time and help me sort out my installs when free.

Thinking about the SUSE issue
A quick glance tells me something doesn’t add up when I compare the menu.lst with fstab

And I’m wondering why you have 2 boot flags, I would expect it only on sda4

OK
So if you are re-installing, just delete it all. The BSD space was grabbed from windows though, so you may need to keep the boot flag on sda1 and fixmbr to boot winders. Get all the partitioning nice and re-allocate the space you free up by deleting everything else.
Install Mint before SUSE, do SUSE last. We can get the boot menu right in SUSE to boot mint after.

Okay, I am cleaning everything and start a fresh.

Well, no offense, I had Irish coffee last night.

Carl,

The two boot flags are due to various chain loaders. I used suse grub to chainload windows and bsd. From windows I installed easybcd as a precaution.

This is just not necessary.

Let me know how you get on.