Page 1 of 1

[Solved] no boot to default user

PostPosted: Aug 29th, '14, 12:15
by JJF
Just upgraded from 3 to 4.1, using 64 bit DVD iso.
I could, than, login directly to my account, selecting user name and passward and work normaly/
Currently, 3 days after the upgrade, when booting, I am presented with console screen with 2 choices: Contro-D or root password.
Control D yields no results.
Root passwords enabled me to "startx" to enter graphical window, but limited to root actions only. Especcialy not able to access mcc.
My question is how do I modify the boot sequence to end up with graphical user name and password and continue from there to the normal KDE environment
Tks

Re: no boot to default user

PostPosted: Aug 29th, '14, 12:49
by benmc
Hello JJF and welcome to Mageia.

Im guessing that an update has changed something for you.
An option is to make the DVD installer reset your desktop.
to do this, boot to the disc, choose install, [ not upgrade ], custom partition management- be sure not to enable formatting of any partition otherwise it is a complete install - dont want that.
Choose desktop, and the installer should just jump to the configure page. check settings ok - especially display / monitor. test before rebooting system

Re: no boot to default user

PostPosted: Aug 30th, '14, 00:22
by doktor5000
It would be much better to first find out why boot isn't working normally anymore. For that, in emergency shell provide the root password and then run
Code: Select all
journalctl -xb

Re: no boot to default user

PostPosted: Aug 30th, '14, 21:14
by JJF
Thamks for your reply
journal -xb is 2673 lines long and as a newbe to linux, I am unable to understand the report.
Some rede lines in the report relates to a remote PC disks which is currently not connected.
Is there a way you can direct me to "suspected" lines in that report??
Tks
JJF

Re: no boot to default user

PostPosted: Aug 30th, '14, 23:13
by doktor5000
Do you have some network shares or windows partitions in /etc/fstab ? Best comment them out by prepending those lines with # and then try to boot again.
Otherwise run
Code: Select all
journalctl -b > output.log
and then attach that file here or post the contents here so others can take a look.

FWIW letting installer do a "repair installation" would not fix such issues, if you don't change this manually via custom partitioning.

Re: no boot to default user

PostPosted: Aug 31st, '14, 07:01
by JJF
Information that I did not post initially:
This is a multiboot system. I can boot both into Windows xp (64) and to Linux Ubuntu were I can use any of the several sda (sda5 through sda10).
When I log into the upgraded Mageia, I can see only one disk. all othe sdaxx are invisible.
I recall, now, that inability to log as the "normal" user but as root happened after I used dd comand trying to xfer sda7 to sda12 which did not terminate normally as there "was not enough disk space" on the target disk. The system than hanged and I booted after which I coukd only login at the command line asking for administrator password.
Again, the system behave normally if I login either to Windows or to Ubuntu.
Please advice
Tks
JJF

Re: no boot to default user

PostPosted: Aug 31st, '14, 11:42
by doktor5000
I've provided advice before. Also, if you don't mention which partition belongs to what OS, not much more help can be provided remotely.
Be advised when transferring data via dd you will destroy the filesystem on the target partition, and hence the UUID used in fstab cannot be used anymore.

Re: no boot to default user

PostPosted: Aug 31st, '14, 16:40
by JJF
Thanks
I (hopefully) attached the requested file (output.log generateed by journalctl -b)
I also attch a copy of parted list
Code: Select all
(parted) print                                                           
Model: ATA ST3320418AS (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system     Flags
 1      32.3kB  84.5GB  84.5GB  primary   ntfs            boot
 2      84.5GB  320GB   236GB   extended
 5      84.5GB  154GB   69.0GB  logical   ext4
 8      154GB   166GB   12.9GB  logical   ext4
 9      166GB   171GB   4185MB  logical   linux-swap(v1)
10      171GB   222GB   51.2GB  logical   ext4
 7      222GB   264GB   41.9GB  logical   ext4
 6      318GB   320GB   2145MB  logical   linux-swap(v1)


Dolphin does not "see" these partitions
Also, attached below a copy of fstab.old:
Code: Select all
cat fstab.old
# Entry for /dev/sda8 :
UUID=ba6bd559-9a40-454b-89c0-205a69be9d8e / ext4 defaults 1 1
# Entry for /dev/sda10 :
UUID=7e0f2ce2-57c7-4e6f-a565-3420754a86f5 /home ext4 defaults 1 2
//kde4/All /mnt/All cifs username=% 0 0
//kde4/DOCUMENTS /mnt/DOCUMENTS cifs username=% 0 0
//kde4/HD-KDE4 /mnt/HD-KDE4 cifs username=% 0 0
//kde4/HOME_JACOB /mnt/HOME_JACOB cifs username=% 0 0
//kde4/JACOBDESKTOP /mnt/JACOBDESKTOP cifs username=% 0 0
//kde4/JACOBDOWNLOD /mnt/JACOBDOWNLOD cifs username=% 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda12 :
UUID=92462f3e-e8bf-40dc-8d08-20c065d826da /x2 ext4 relatime,acl 1 2
# Entry for /dev/sda6 :
UUID=86d7c7e4-c2aa-4cde-ae00-b56ce5071595 swap swap defaults 0 0
# Entry for /dev/sda9 :
UUID=9e88f757-690f-466a-881b-2097d4cd7183 swap swap defaults 0 0


but trying to run fstab yields an error: "command mot found"

Please advice
Tks jjf

Re: [solved] no boot to default user

PostPosted: Sep 2nd, '14, 22:04
by JJF
I found from among few others the corrct fstab and commented the non existing disks. This solved the problem.
For the record I'ld like to explain :
1. The "correct" fstab was located in one of other disks. It was not located in /root/etc of the disk that was I logged into when I was requested to give root password in command line after boot. I, than, than enterred "startx" and was presented by root gui. The fstab showed only one disk and did not contain any network or other disks.
2. I logged in to another healthy linux OS, and commented the network disk together with 2 other disks - x2, z1 - as advised. ( I used these disks before the problem occured to copy important files by "dd " command.)

Below is the modified fstab

Code: Select all
# Entry for /dev/sda8 :
UUID=ba6bd559-9a40-454b-89c0-205a69be9d8e / ext4 defaults 1 1
# Entry for /dev/sda10 :
UUID=7e0f2ce2-57c7-4e6f-a565-3420754a86f5 /home ext4 defaults 1 2
#   //kde4/All /mnt/All cifs username=% 0 0
#   //kde4/DOCUMENTS /mnt/DOCUMENTS cifs username=% 0 0
#   //kde4/HD-KDE4 /mnt/HD-KDE4 cifs username=% 0 0
#   //kde4/HOME_JACOB /mnt/HOME_JACOB cifs username=% 0 0
#   //kde4/JACOBDESKTOP /mnt/JACOBDESKTOP cifs username=% 0 0
#   //kde4/JACOBDOWNLOD /mnt/JACOBDOWNLOD cifs username=% 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda12 :
#           UUID=92462f3e-e8bf-40dc-8d08-20c065d826da /x2 ext4 relatime,acl 1 2
# Entry for /dev/sda11 :
#           UUID=c81b6798-52ee-4b85-b83c-4e2ef0623370 /z1 ext4 defaults 1 2
# Entry for /dev/sda6 :
UUID=86d7c7e4-c2aa-4cde-ae00-b56ce5071595 swap swap defaults 0 0
# Entry for /dev/sda9 :
UUID=9e88f757-690f-466a-881b-2097d4cd7183 swap swap defaults 0 0



Thanks for your assistance
JJF

Re: no boot to default user

PostPosted: Sep 3rd, '14, 01:15
by doktor5000
Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks