Lost My Root Filesystem

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have a Dell xps-13 developer edition. It's default is 14.04 but I updated to 16.04 long ago. Let's just say one stupid decision this morning without coffee lead me to improperly fixing an old bug that resurfaced and I ended up resetting the BIOS settings to factory defaults. I realized my mistake as the Ubuntu booting option dissapeared...



I've since found some possible boot options like EFI/ubuntu/grubx64.efi, which at least get me to grub 2.0. But all the options are for ubuntu 14.04. When I try recovery mode 14.04 using this, it says root system not found and brings me to a initramfs shell which I am not familiar with. I assume just need to get it to mount the proper filesystem?



I believe my 16.04 root filesystem must be somewhere, but I can't find where. Cat /proc/cmdline tells me the boot image and root=UUID=3698.... (long name). The other thing other threads try is fstab /dev/sda1, but I do not have sda of any kind in /dev and /etc/fstab appears empty.



The other thing I've tried is going to the grub command line and using "set root(", TAB gets options (hd0),(hd1error... So apparently whatever hd1 is is also broken. I can set root to either, but hd0 doesn't accept any commands and hd1 just prints failure errors.



Any help would be incredibly appreciated!!



Edit: I've since realized the above EFI options are under (hd0,1)/ and my /home is under (hd0,3).







share|improve this question





















  • Might be helpful: How can I reinstall GRUB to the EFI partition?
    – Andrea Corbellini
    Jun 11 at 18:44














up vote
0
down vote

favorite












I have a Dell xps-13 developer edition. It's default is 14.04 but I updated to 16.04 long ago. Let's just say one stupid decision this morning without coffee lead me to improperly fixing an old bug that resurfaced and I ended up resetting the BIOS settings to factory defaults. I realized my mistake as the Ubuntu booting option dissapeared...



I've since found some possible boot options like EFI/ubuntu/grubx64.efi, which at least get me to grub 2.0. But all the options are for ubuntu 14.04. When I try recovery mode 14.04 using this, it says root system not found and brings me to a initramfs shell which I am not familiar with. I assume just need to get it to mount the proper filesystem?



I believe my 16.04 root filesystem must be somewhere, but I can't find where. Cat /proc/cmdline tells me the boot image and root=UUID=3698.... (long name). The other thing other threads try is fstab /dev/sda1, but I do not have sda of any kind in /dev and /etc/fstab appears empty.



The other thing I've tried is going to the grub command line and using "set root(", TAB gets options (hd0),(hd1error... So apparently whatever hd1 is is also broken. I can set root to either, but hd0 doesn't accept any commands and hd1 just prints failure errors.



Any help would be incredibly appreciated!!



Edit: I've since realized the above EFI options are under (hd0,1)/ and my /home is under (hd0,3).







share|improve this question





















  • Might be helpful: How can I reinstall GRUB to the EFI partition?
    – Andrea Corbellini
    Jun 11 at 18:44












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a Dell xps-13 developer edition. It's default is 14.04 but I updated to 16.04 long ago. Let's just say one stupid decision this morning without coffee lead me to improperly fixing an old bug that resurfaced and I ended up resetting the BIOS settings to factory defaults. I realized my mistake as the Ubuntu booting option dissapeared...



I've since found some possible boot options like EFI/ubuntu/grubx64.efi, which at least get me to grub 2.0. But all the options are for ubuntu 14.04. When I try recovery mode 14.04 using this, it says root system not found and brings me to a initramfs shell which I am not familiar with. I assume just need to get it to mount the proper filesystem?



I believe my 16.04 root filesystem must be somewhere, but I can't find where. Cat /proc/cmdline tells me the boot image and root=UUID=3698.... (long name). The other thing other threads try is fstab /dev/sda1, but I do not have sda of any kind in /dev and /etc/fstab appears empty.



The other thing I've tried is going to the grub command line and using "set root(", TAB gets options (hd0),(hd1error... So apparently whatever hd1 is is also broken. I can set root to either, but hd0 doesn't accept any commands and hd1 just prints failure errors.



Any help would be incredibly appreciated!!



Edit: I've since realized the above EFI options are under (hd0,1)/ and my /home is under (hd0,3).







share|improve this question













I have a Dell xps-13 developer edition. It's default is 14.04 but I updated to 16.04 long ago. Let's just say one stupid decision this morning without coffee lead me to improperly fixing an old bug that resurfaced and I ended up resetting the BIOS settings to factory defaults. I realized my mistake as the Ubuntu booting option dissapeared...



I've since found some possible boot options like EFI/ubuntu/grubx64.efi, which at least get me to grub 2.0. But all the options are for ubuntu 14.04. When I try recovery mode 14.04 using this, it says root system not found and brings me to a initramfs shell which I am not familiar with. I assume just need to get it to mount the proper filesystem?



I believe my 16.04 root filesystem must be somewhere, but I can't find where. Cat /proc/cmdline tells me the boot image and root=UUID=3698.... (long name). The other thing other threads try is fstab /dev/sda1, but I do not have sda of any kind in /dev and /etc/fstab appears empty.



The other thing I've tried is going to the grub command line and using "set root(", TAB gets options (hd0),(hd1error... So apparently whatever hd1 is is also broken. I can set root to either, but hd0 doesn't accept any commands and hd1 just prints failure errors.



Any help would be incredibly appreciated!!



Edit: I've since realized the above EFI options are under (hd0,1)/ and my /home is under (hd0,3).









share|improve this question












share|improve this question




share|improve this question








edited Jun 11 at 17:53
























asked Jun 11 at 17:18









Zach Johnson

112




112











  • Might be helpful: How can I reinstall GRUB to the EFI partition?
    – Andrea Corbellini
    Jun 11 at 18:44
















  • Might be helpful: How can I reinstall GRUB to the EFI partition?
    – Andrea Corbellini
    Jun 11 at 18:44















Might be helpful: How can I reinstall GRUB to the EFI partition?
– Andrea Corbellini
Jun 11 at 18:44




Might be helpful: How can I reinstall GRUB to the EFI partition?
– Andrea Corbellini
Jun 11 at 18:44










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Turns out this is an issue specific to Dell xps models. By resetting the BIOS configuration I turned the SATA configuration from AHCI to RAID. Switching it back allows my filesystem to be found and everything worked out!



So I suggest in general if you can find our filesystem with grub, but it won't boot and commands like fdisk can't find your filesystem, it is probably because they use a different convention RAID vs. AHCI, which as far as I understand are just different programs that assign virtual locations in your disk space.






share|improve this answer





















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1045672%2flost-my-root-filesystem%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Turns out this is an issue specific to Dell xps models. By resetting the BIOS configuration I turned the SATA configuration from AHCI to RAID. Switching it back allows my filesystem to be found and everything worked out!



    So I suggest in general if you can find our filesystem with grub, but it won't boot and commands like fdisk can't find your filesystem, it is probably because they use a different convention RAID vs. AHCI, which as far as I understand are just different programs that assign virtual locations in your disk space.






    share|improve this answer

























      up vote
      0
      down vote













      Turns out this is an issue specific to Dell xps models. By resetting the BIOS configuration I turned the SATA configuration from AHCI to RAID. Switching it back allows my filesystem to be found and everything worked out!



      So I suggest in general if you can find our filesystem with grub, but it won't boot and commands like fdisk can't find your filesystem, it is probably because they use a different convention RAID vs. AHCI, which as far as I understand are just different programs that assign virtual locations in your disk space.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Turns out this is an issue specific to Dell xps models. By resetting the BIOS configuration I turned the SATA configuration from AHCI to RAID. Switching it back allows my filesystem to be found and everything worked out!



        So I suggest in general if you can find our filesystem with grub, but it won't boot and commands like fdisk can't find your filesystem, it is probably because they use a different convention RAID vs. AHCI, which as far as I understand are just different programs that assign virtual locations in your disk space.






        share|improve this answer













        Turns out this is an issue specific to Dell xps models. By resetting the BIOS configuration I turned the SATA configuration from AHCI to RAID. Switching it back allows my filesystem to be found and everything worked out!



        So I suggest in general if you can find our filesystem with grub, but it won't boot and commands like fdisk can't find your filesystem, it is probably because they use a different convention RAID vs. AHCI, which as far as I understand are just different programs that assign virtual locations in your disk space.







        share|improve this answer













        share|improve this answer



        share|improve this answer











        answered Jun 12 at 16:22









        Zach Johnson

        112




        112






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1045672%2flost-my-root-filesystem%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491