Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 516  / 2 Years ago, sun, may 15, 2022, 8:58:19

my system is dual boot Win7 / 12.04



/etc/fstab looks oK

/boot on sda5
/ on sda6
/home on sda7

fdisk -l is fine shows 3 sep logical partitions

/dev/sda3 Extended ( group container for 5,6,7
/dev/sda5 nnnnn nnnnn 500MG 83 Linux <-- grub also here
/dev/sda6 nnnnn nnnn 40 GB 83 Linux
/dev/sda7 nnnnn nnnnn 60 GB 83 Linux


as listed above, before the attempted upgrade, / , /boot, /home were on 3 separate logical partitions and /etc/fstab looked OK.



what seems to have happened in the upgrade is that grub lost track of the 3 separate partitions and could not process a logon from a user whose /home directory was on another partition.



/var/logs/auth.log would show a failure for that user when i tried to logon after the upgrade...



lightdm: pam_succeed_if(lightdm:auth):requirement "user ingroup nopasswdlogin" not met by user "rob" 
[system] rejected send message, 2 matched rules; type='method_call', sender=':1.103' (uid=104 pid=nnnn comm='/usr/lib/indicator-datetime/indicator-datetime-ser') interface''org.freedesktop.dbus.properties' member='getall' error name='unset' ....


I go to grub menu and go to 'recovery' for 3.2.0-27 then 'drop into root'...



if i look for /home there is NOTHING.
if i look for /boot/grub , there is NOTHING



if i then go back to the sub-menu where i dropped into root , selecting 'grub updte bootloader' this time, i retreive the references to /home and to /boot/grub and everything looks consistent.



then , i try to reboot from the internal menu from recovery and it goes to the logon for my account , i give the passwd and it just dies with a back-lit screen.



So, im really stuck.. Unable to revert to 3.2.0-26 and unable to stitch together the grub components in order to go forward with 3.2.0-27.



i don't think anything is corrupted but grub seems to be confused and i do not know the sequence of commands to use to recovery to where i was on 3.2.0-26.



FOOTNOTE
I wanted solution like 'aaa' says below where grub update would have been used to somehow restitch the elements of dual-boot back together. Matt scared me into a re-install from my USB stick which was vanilla amd64 ( dont think that it had the alternate solution ).



It looked like all the elements were there after using 3.2.0-26 recovery and grub recovery. It looked like grub was there - altho im not sure that it was back on /dev/sda5 where originally put it.



There seems to be something very brittle in the dual boot solution where Win7 is primary controller of MBR and MBR points to grub on /dev/sda5.



The funny thing is that after i reinstalled, i eventually got to 3.2.0-27 working on my laptop. I did this by doing apt-get update and then by responding to the shaking icon in Unity UI for updates. The big update included 3.2.0-27 update that had failed earlier . ONLY THIS TIME IT WORKED??



I can only say that the outcome of system software upgrades is suspect when you have the dual boot topology where orig Win7 MBR forwards to grub on the first of the logical sdaXX partitions created during an install where you choose to create your own partitions.
I will be very wary of this situation when i decide whether to apply uprades when Unity prompts me.


More From » upgrade

 Answers
4

I am currently dealing with the same exact issue. To fix it you are going to HAVE to reinstall Ubuntu. If you don't you will mess up the boot kernels on Windows 7 and Ubuntu and you will have to reinstall Windows 7 and Ubuntu from the ground up. Heed my warning when I tell you this. I followed instructions to fix this online and it ended up deleting all my previous kernels.


[#36597] Monday, May 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
peafowkes

Total Points: 356
Total Questions: 102
Total Answers: 117

Location: Lebanon
Member since Tue, Oct 12, 2021
3 Years ago
;