Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: "No operating system found" after re-sizing /home with gparted

  1. #1
    Join Date
    Jan 2012
    Location
    BC
    Posts
    178

    Default "No operating system found" after re-sizing /home with gparted

    I resized my /home partition with gparted live to create room for a new NTFS partition to install winXP on.

    Currently the partition setup says:
    Code:
    /dev/sda1 "/boot"
    /dev/sda2 "/"
    /dev/sda3 "/home"
    /dev/sda5 "ntfs for windows xp" <- I created this after /dev/sda3 was resized
    /dev/sda4 "swap"
    Upon re-booting I get the famous "No operating system found".
    I've already marked the /boot partition as "active" using fdisk. But don't know how to repair grub...

    I've followed the thread "No operating system found" upon boot after partition resize.
    I tried things like what is seen in post #13 but get error about /dev not being there or is not mounted when trying grub-install to /dev/sda1.

    I have a gparted live cd at my disposal. I also have a openSUSE 12.1 DVD but it is at home and will have to wait to see if I can do something there from "recovery" mode... Though off the top of my head, I wouldn't know really...

    I tried to re-install grub but cannot launch grub it says /usr/bin does not exist.
    I also tried fixing the grub boot problem but again, i can't launch grub from a terminal in gparted live.

    I got the knoppix v7 10mb boot only iso, but I've never tried it and I think repairing grub from gparted should be possible. Maybe I need to try testdisk from inside gparted somehow?

    If anyone has any suggestions, I would very much appreciate it.

    I am learning how to re-size partitions to install WinXP on my laptop before I try it on the desktop.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: "No operating system found" after re-sizing /home with gparted

    On 2012-06-06 22:06, saultdon wrote:

    > Upon re-booting I get the famous "No operating system found".
    > I've already marked the /boot partition as "active" using fdisk. But
    > don't know how to repair grub...


    That message is not from grub, you are booting the old booter.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  3. #3
    Join Date
    Jan 2012
    Location
    BC
    Posts
    178

    Default Re: "No operating system found" after re-sizing /home with gparted

    Quote Originally Posted by robin_listas View Post
    That message is not from grub, you are booting the old booter.
    So it sounds like I need to re-install grub? How do I make a "new booter"?

    I understand I may need to re-install grub after I install windows xp into the new NTFS partition or just create an entry for it in the grub menu, but for now, I just want to be able to boot into openSUSE 12.1 again.

    I'm simply trying to boot into opensuse after I've re-sized my /home partition. Is this possible or have I wrecked my system and need to re-install.

  4. #4
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,066

    Default Re: "No operating system found" after re-sizing /home with gparted

    On Wed, 06 Jun 2012 21:36:03 +0000, saultdon wrote:

    > I'm simply trying to boot into opensuse after I've re-sized my /home
    > partition. Is this possible or have I wrecked my system and need to
    > re-install.


    http://en.opensuse.org/GRUB

    There are some recovery options here that should get you on the right
    track.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  5. #5
    Join Date
    Jan 2012
    Location
    BC
    Posts
    178

    Default Re: "No operating system found" after re-sizing /home with gparted

    Quote Originally Posted by hendersj View Post
    GRUB - openSUSE

    There are some recovery options here that should get you on the right
    track.
    This is great! Thanks a lot.

    I will scour this material in a bit here and get back with my results and hopefully have a definitive answer!

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: "No operating system found" after re-sizing /home with gparted

    On 2012-06-06 23:43, Jim Henderson wrote:
    > On Wed, 06 Jun 2012 21:36:03 +0000, saultdon wrote:
    >
    >> I'm simply trying to boot into opensuse after I've re-sized my /home
    >> partition. Is this possible or have I wrecked my system and need to
    >> re-install.

    >
    > http://en.opensuse.org/GRUB
    >
    > There are some recovery options here that should get you on the right
    > track.


    I would try findgrub, but I'm no expert on it.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  7. #7
    Join Date
    Jan 2012
    Location
    BC
    Posts
    178

    Default Re: "No operating system found" after re-sizing /home with gparted

    I think after reading some more, that the best course of action is to re-install everything. This is no big task as I've archived my /home folder and cached my packages with zypper for quick retrieval.

    It's been suggested - to avoid over complicating things, and sating the appetite of windows - to install windows first into the first partition on the HD, then install opensuse into the rest of the HD under an extended partition (extended because I will most likely use the rest of the disk for openSUSE)

    The partition layout will look something like:
    Code:
    /dev/sda
     /dev/sda1 -> Windows  XP (120GB)
    'Extended'
     /dev/sdb1 -> / #marked as active for booting
     /dev/sdb2 -> /home
     /dev/sdb3 -> swap

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: "No operating system found" after re-sizing /home with gparted

    On 2012-06-07 01:26, saultdon wrote:

    > Code:
    > --------------------
    > /dev/sda
    > /dev/sda1 -> Windows XP (120GB)
    > 'Extended'
    > /dev/sdb1 -> / #-marked as active for booting-
    > /dev/sdb2 -> /home
    > /dev/sdb3 -> swap
    > --------------------


    Your layout is inconsistent. sdb correspond to a second disk, not to an
    extended setup. It would probably be sda1, sda2, then sda5, sda6...

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  9. #9
    Join Date
    Jan 2012
    Location
    BC
    Posts
    178

    Default Re: "No operating system found" after re-sizing /home with gparted

    Quote Originally Posted by robin_listas View Post
    On 2012-06-07 01:26, saultdon wrote:

    > Code:
    > --------------------
    > /dev/sda
    > /dev/sda1 -> Windows XP (120GB)
    > 'Extended'
    > /dev/sdb1 -> / #-marked as active for booting-
    > /dev/sdb2 -> /home
    > /dev/sdb3 -> swap
    > --------------------


    Your layout is inconsistent. sdb correspond to a second disk, not to an
    extended setup. It would probably be sda1, sda2, then sda5, sda6...
    Yea, you're right - that's just what I thought it would look like when writing it from the top of my green head.
    Learning something new everyday =)

    Thanks for all the information everyone.

  10. #10
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: "No operating system found" after re-sizing /home with gparted

    Just as a note
    In openSUSE the extended partition will be given the boot flag, if the / partition is inside it.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •