Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I resized my 1.5TB (with Windows-7 installed) to make space for "Linux OS" and personal data. I did it using live-USB version of the Gparted, and it worked well. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    3

    Reboot error after reformatting a partition


    Hi,

    I resized my 1.5TB (with Windows-7 installed) to make space for "Linux OS" and personal data. I did it using live-USB version of the Gparted, and it worked well. I installed linux and formatted the data space as a different partition during the linux install process. I used Ext3 for this partition. All worked well until here.

    Now, I used Gparted on my linux machine to change the formatting of the data-space partition from Ext3 to NTFS. Here, please note that all the partitions are on the same physical hard-drive. That is, when I changed the partition formatting from Ext3 to NTFS, the Linux was running on the same physical hard-drive; but, of course, in a different partition. The formatting worked well, with no error.

    Now, when I reboot the linux, it can't boot. It shows some error like difficulty in mounting the linux partition (which, I didn't touch). It asks for a root password to fix the issue, or CONTROL+D key to reboot.

    When I choose to fix the issue, what commands should I use?

    Or, is there any other way to fix this issue ?

  2. #2
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    664
    When you say "data space", what filesystem/mountpoint do you mean, from a linux perspective?

  3. #3
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    218
    It asks for a root password to fix the issue, or CONTROL+D key to reboot.
    Every 30 (I think) reboots, the system checks the OS and partitions. If there's a problem, it stays in the console and asks you to log in as root (init 1, or recovery mode). To check the OS and partitions, as you mentioned changing a partition, the maintinence is usually done with the fsck command. Its been a while since I've run it so check the man page ('man fsck') to be sure.

    As root:
    Code:
     # fsck -A /dev/sda
    Another possibility:
    Code:
     # update-grub

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2011
    Posts
    2
    Quote Originally Posted by shekharc View Post
    Hi,

    Now, I used Gparted on my linux machine to change the formatting of the data-space partition from Ext3 to NTFS.
    From the sound of that, it feels to me like you formatted ("tried converting" would be better wording) the EXT3 to NTFS on your Linux partition.

    At this point, we'd sure like you to boot into your system using a live CD (Such as Knoppix) then in a console screen write " fdisk /dev/sda" (most probably) then (p)rint your disk layout and paste it over here so we know better what's going on.

  6. #5
    Just Joined!
    Join Date
    Apr 2007
    Posts
    3

    Smile

    I realized that, after reformatting the partition, I didn't update the fstab accordingly. When I changed the corresponding entry from ext3 to ntfs-3g, the issue got fixed and the system rebooted normally

    Thanks for your replies.

    regards,
    shekharc

Posting Permissions

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