Saturday, May 4, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1658  / 1 Year ago, wed, january 11, 2023, 8:34:12

I have tried to install Ubuntu alongside Windows 8.1 on my portable DELL Inspiron.



I have been through problems, which, everytime I tried to solve, brought other bigger problems...




  1. First, I installed Ubuntu 12.04 (from official website) with a burnt DVD. (Legacy mode)
    I partitionned my hard disk :




    • 5Gb, type : ext4, mount point : /

    • 6Gb, type : ext4, mount point : /home

    • 1Gb, type : swap

    • 2Mb, I don't remember the type, but the installation device adviced me to do that



    The installation worked, but when I restarted, I had a black screen


  2. So I decided to install Ubuntu 13.10 (official website) with a burnt DVD too. (Legacy mode)
    I formatted the ext4 partitions and installed ubuntu 13.10



    The installation worked, but when I restarted, I had an error : "variable root isn't set" and the loading screen of ubuntu couldn't finish.


  3. So I decided to use the boot-repair disk. I burnt it on a CD and ran it. (Legacy mode)
    I followed the instructions, but when I restarted, I had this error : "invalid arch independent ELF magic" "grub rescue> "



    So I ran the boot-repair disk again, still the same error.



    However, when booting in UEFI mode (to access Windows), I didn't have this error.
    (remark : when executing the boot-repair disk instructions, I had this error : "Fatal : could not open either sysfs or procfs directories for accessing EFI variables. Try 'modprobe efivars' as root")


  4. At last, booting in UEFI, boot secure option disabled, I have now this GRUB screen :




    • Ubuntu with Linux 3.8.0-35-generic

    • Ubuntu with Linux 3.8.0-35-generic (recovery mode)

    • Previous Linux versions

    • Windows UEFI recovery bkpbootmgfw.efi

    • Windows boot UEFI recovery

    • Windows recovery environment (loader) (on /dev/sda1)

    • Windows (on /dev/sda5)

    • System set up




When I choose Windows recovery environment (loader) (on /dev/sda1) or Windows (on /dev/sda5), I have this error : unknown command 'drivemap' invalid EFI file path.
When I choose Windows UEFI recovery bkpbootmgfw.efi or Windows boot UEFI recovery, it's OK, I can reach and use Windows.



When I choose Ubuntu with Linux 3.8.0-35-generic, I can see some bluetooth error, and then I have the unavoidable black screen.



When I choose Ubuntu with Linux 3.8.0-35-generic (recovery mode), it's OK, I have a menu where I can choose several options. So then, I chose graphic safe mode -> reconfigure graphics (default), and then, low graphics boot for one session, and then update grub bootloader. At last, I clicked on standard boot, and I reached for the first time the ubuntu desktop. I restarted, but the Ubuntu with Linux 3.8.0-35-generic choice still gives me a black screen.



Besides, booting UEFI with boot secure option enable, gives me for the first time : "secure boot violation, invalid signature detected. Check secure boot policy on setup", and then "internal hard disk drive not found blablabla, no bootable devices blablabla".
From this message, I have several options, I chose "check PSA" or something like that. I am waiting now for the checking.



What afraid me is that now, to access Windows, I must go through one of the two boot recovery GRUB options, AND also must have the boot secure option disabled.



What annoy me is that I still can't use Linux on my computer (which is new, I bought it 2 weeks ago...), and I need it to work.



Any help ??? please.....


More From » installation

 Answers
2

I eventually succeeded in restore my computer. I give my way to other people who could have the same problem. Actually, I removed Linux and then restored the windows boot (which both didn't boot normally).



I first deleted the Linux partitions as follows (so save files before if needed)
(do it if linux was installed on its own partition -> if installed with Wubi, go to control panel-> programs-> uninstall program-> select Ubuntu-> uninstall) :




  1. go to disk management by pressing WinKey + X or write diskmgmt.msc, in the search menu then choose diskmgmt


  2. right click on the linux partitions, and delete them (the linux partitions can be recognized by right cliking on them, select property, and seeing that they have no label for file system, as they are detected as unknown partitions). Be careful to not delete other partitions.


  3. Extend the C: partition with the obtained free space (right click-> extend volume) or format the free space if you want to reuse it later.




Here, Linux was deleted from my computer,but not its bootloader.
Thus, if I restarted at this point, I would have the following error : no such device: *a number* grub rescue>



So I repaired the windows boot, by rebooting my computer using a bootable USB windows recovery drive. Create a USB recovery drive.



Here, check the partition table type : MBR or GPT as follows :
in disk management (see before), right click on the left "box" on the left of your partitions (Disk 0), select properties, go to Volumes, and see Partition style



Boot on the USB drive, choose a keyboard, choose advanced options, and then the command line.



When in the command line,





For me (GPT solution), it worked perfectly (the windows recovery options changed a little, that's all)



Good luck !


[#27428] Friday, January 13, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tinchir

Total Points: 300
Total Questions: 116
Total Answers: 119

Location: American Samoa
Member since Sun, Jan 17, 2021
3 Years ago
tinchir questions
Tue, Sep 14, 21, 23:11, 3 Years ago
Mon, Dec 19, 22, 13:00, 1 Year ago
Sat, Feb 5, 22, 11:36, 2 Years ago
Mon, Aug 8, 22, 02:16, 2 Years ago
;