LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   OpenSuse suddenly stops booting correctly (https://www.linuxquestions.org/questions/linux-newbie-8/opensuse-suddenly-stops-booting-correctly-4175463843/)

13stein.j 06-01-2013 08:43 AM

Quote:

Originally Posted by Knightron (Post 4963191)
I forgot that Opensuse uses the /dev/disk/by-id method of identifying partitions, before when i was asking for info, but have just remembered when i checked my Opensuse partitions fstab. Your fstab is set up very basically instead though. I'm not very familiar with the /dev/disk-id method, so try making a new fstab file using UUID instead.

mount your Opensuse partiton and change the name of the fstab file
(assuming it's mounted in mnt);
Code:

sudo mv /mnt/etc/fstab /mnt/etc/fstab.org
Then create a new one by 'sudo nano /mnt/etc/fstab' with with the bellow information copied and pasted into it.

Code:

# <file system> <mount point>  <type>  <options>      <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=2695b5bf-03ac-41b9-b606-942267cb6d2e /              ext4    errors=remount-ro 0      1
# swap was on /dev/sda2 during installation
UUID=52f769d2-d068-4a42-9f3c-b23fb7058d70 none            swap    sw              0      0

Code:

sudo umount /dev/sda2
reboot and see if you can boot up Opensuse.

This didn't work :(. Should I just format and reinstall?

Knightron 06-01-2013 09:31 AM

What'd it do when you tried boot Opensuse with the new fstab?

If you've nothing to loose on your Opensuse partition, in my opinion i'd setup grub legacy as a chainload boot partition and then reinstall.

For the record, If you don't know how to partition your hard drive when you install a distro then i recommend you learn how to before attempting this advice, because you will have to reinstall your bootloader for every installed os you currently have (and i even wouldn't know how to do that off my head), and set up every future install correctly to gain the benefits of this. It is worth looking into though.

13stein.j 06-01-2013 09:37 AM

The same exact problem! But you think my best bet is to reinstall? I'm fine with it, and I know how to partition my drive.

Knightron 06-01-2013 09:45 AM

So it even said, 'waiting for device /dev/sda2 to appear'

If it said the exact same message, try running sudo update-grub from your ubunut parititon and then booting again.

13stein.j 06-01-2013 06:11 PM

Quote:

Originally Posted by Knightron (Post 4963461)
If it said the exact same message, try running sudo update-grub from your ubunut parititon and then booting again.

No luck!:(:(:(:(:(:(

13stein.j 06-06-2013 09:37 PM

I have just formatted and re-partitioned and installed opensuse, by if I select it, it boots Ubuntu! Any help?

Knightron 06-06-2013 09:56 PM

Have you ran update grub from Ubuntu since installing, assuming you didn't install the bootloader from opensuse.

13stein.j 06-06-2013 10:02 PM

Yes!

13stein.j 06-07-2013 06:23 PM

I fixed it! And this fix can be done without the fstab, nut I do not know how dangerous this is. What I did to fix it was

1. Login to another install, in thiscase linux mint, one that does not affect the change that i would be doing
2. install mint's grub for safety
3. As root, go into the dev folder, (orginally opensuse was on sda, but it turned into sde) and switch the names of sda* with sde*
4. update grub
5. (I haven't done this yet) make sure the other install is still working

I just do not understand why chamging the other fstab doesn't work, and I had to do the above steps which scared me(I was ready to bury my system)


All times are GMT -5. The time now is 06:39 AM.