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

Thread: reformatting microSSD causes boot problems

  1. #1

    Default reformatting microSSD causes boot problems

    My laptop has a 16gb microSSD. Initially, this was used as an "acceleration cache" for my windows partition, but I have since disabled that feature and made it simply an ext4 partition that automounts to /media/ssd. However, it occurred to me that if I made it ntfs instead of ext4, then I could use it to share files with my windows partition. I set out to do that, but I ran into a problem--I couldn't boot into openSUSE anymore!

    I'll start at the beginning, with when I had my microSSD as just ext4 and automounted to /media/ssd. Back then, the pertinent line from my fstab was as follows.

    Code:
    LABEL=ssd            /media/ssd           ext4       acl,user_xattr        1 2
    So then I went to gparted, created a new partition table for /dev/sdb (which is the microSSD), and then I created the whole microSSD as a single ntfs partition. Following that, I changed the "ext4" part of the above fstab line to ntfs.

    But then when I booted into openSUSE, it just hung...

    So then I booted from a liveDVD and changed the "ntfs" part of the fstab line to "ntfs-3g", thinking that might help. But that didn't change anything.

    So then I just booted back into that liveDVD and changed things back to the way they were in order to get my system back--reformatted the microSSD to ext4, and changed the fstab line back to the original that I quoted above. Then the system was back to normal. (phew!--didn't break anything permanently!)

    So... how DO I make my microSSD into ntfs without running into the problems I encountered??

    Thanks!

    (edit--thought that I should clarify that my microSSD does not have anything on it. So yeah, I don't care about needing to reformat it.)

  2. #2

    Default Re: reformatting microSSD causes boot problems

    bump

    10chars

  3. #3
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: reformatting microSSD causes boot problems

    If it were me, I would remove all reference to it in the fstab. My suspicion is you missed an fstab reference to that SSD (how about posting the content of your entire fstab) ?

    Then after the reference to the SSD is removed completely, do a reboot to confirm your PC boots okay to openSUSE.

    Then use the YaST partitioner to format the SSD and let YaST partitioner do the fstab edits/mounting for the SSD.

    If that does not work with YaST, then asuming a supported openSUSE version you could write a bug report and obtain the develop/packagers support on this.

  4. #4

    Default Re: reformatting microSSD causes boot problems

    Thanks, oldcpu.

    Here's my entire fstab:

    Code:
    LABEL=swap                  swap                              swap       defaults              0 0
    LABEL=gecko                 /                                    ext4       acl,user_xattr        1 1
    LABEL=ssd                    /media/ssd                      ext4       acl,user_xattr        1 2
    /dev/disk/by-id/ata-WDC_WD10JPVX-08JC3T5_WD-WXA1A7362599-part2 /boot/efi            vfat       umask=0002,utf8=true  0 0
    LABEL=Windows8_OS    /media/windows              ntfs-3g    users,uid=sam,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    LABEL=aydindril             /s                                   ext4       defaults              1 2
    Does this further information change anything, or do you still advise that I do what you recommended in your above post?

    Thank you again.

  5. #5
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: reformatting microSSD causes boot problems

    Quote Originally Posted by rybnik View Post
    Thanks, oldcpu.

    Here's my entire fstab:

    Code:
    LABEL=swap                  swap                              swap       defaults              0 0
    LABEL=gecko                 /                                    ext4       acl,user_xattr        1 1
    LABEL=ssd                    /media/ssd                      ext4       acl,user_xattr        1 2
    /dev/disk/by-id/ata-WDC_WD10JPVX-08JC3T5_WD-WXA1A7362599-part2 /boot/efi            vfat       umask=0002,utf8=true  0 0
    LABEL=Windows8_OS    /media/windows              ntfs-3g    users,uid=sam,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    LABEL=aydindril             /s                                   ext4       defaults              1 2
    Does this further information change anything, or do you still advise that I do what you recommended in your above post?
    .
    Could you clarify something for me. I understand the 'ssd' is mounted as /media/ssd.

    But what is this /s ? I've never seen such a mount before.

    Is there any possibility you have two entries in the fstab for the SSD ? ie please confirm the /s is not for the SSD.

  6. #6

    Default Re: reformatting microSSD causes boot problems

    Quote Originally Posted by oldcpu View Post
    If it were me, I would remove all reference to it in the fstab. My suspicion is you missed an fstab reference to that SSD (how about posting the content of your entire fstab) ?

    Then after the reference to the SSD is removed completely, do a reboot to confirm your PC boots okay to openSUSE.

    Then use the YaST partitioner to format the SSD and let YaST partitioner do the fstab edits/mounting for the SSD.

    If that does not work with YaST, then asuming a supported openSUSE version you could write a bug report and obtain the develop/packagers support on this.
    AFAIK the YaST partitioner can't create a new ntfs partition. If I followed this story correctly, the SSD is now back at ext4 in order to get openSUSE working. So he has to reformat the disk back to NTFS using Windows at first. For setting the mountpoint afterwards however I fully agree to your method using the YaST partitioner prior to editing /etc/fstab manually.

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

    Default Re: reformatting microSSD causes boot problems

    On 2014-01-27 08:16, rybnik wrote:
    >
    > Thanks, oldcpu.
    >
    > Here's my entire fstab:
    >
    >
    > Code:
    > --------------------
    >
    > LABEL=swap swap swap defaults 0 0
    > LABEL=gecko / ext4 acl,user_xattr 1 1
    > LABEL=ssd /media/ssd ext4 acl,user_xattr 1 2
    > /dev/disk/by-id/ata-WDC_WD10JPVX-08JC3T5_WD-WXA1A7362599-part2 /boot/efi vfat umask=0002,utf8=true 0 0
    > LABEL=Windows8_OS /media/windows ntfs-3g users,uid=sam,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    > LABEL=aydindril /s ext4 defaults 1 2
    >
    > --------------------
    >
    >
    > Does this further information change anything, or do you still advise
    > that I do what you recommended in your above post?


    I think we need also the output of "blkid" to find out what each device is.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  8. #8
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: reformatting microSSD causes boot problems

    Quote Originally Posted by robin_listas View Post
    I think we need also the output of "blkid" to find out what each device is.
    blkid can be difficult to read, albeit I agree useful to see if the /s is also the SSD.

    Also possibly something readable like the following (run with root permissions) may help provide the information in a more readable format ?
    Code:
    lsblk --fs
    Last edited by oldcpu; 27-Jan-2014 at 05:32.

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

    Default Re: reformatting microSSD causes boot problems

    On 2014-01-27 13:26, oldcpu wrote:
    >
    > robin_listas;2619662 Wrote:
    >>
    >> I think we need also the output of "blkid" to find out what each device
    >> is.
    >>

    >
    > blkid can be difficult to read, albeit I agree useful to see if the /s
    > is also the SSD.
    >
    > Also possibly something readable like the following may help provide the
    > information ?
    >
    > Code:
    > --------------------
    >
    > lsblk --fs
    >
    > --------------------


    Yes, that's a nice command.

    I don't see in either command how to display the "id" :-? Only the "uuid".

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  10. #10

    Default Re: reformatting microSSD causes boot problems

    Quote Originally Posted by oldcpu
    Could you clarify something for me. I understand the 'ssd' is mounted as /media/ssd.

    But what is this /s ? I've never seen such a mount before.

    Is there any possibility you have two entries in the fstab for the SSD ? ie please confirm the /s is not for the SSD.
    Sorry for not realizing that that may be confusing. /s is my home partition. I do have such a directory as /home/rybnik but I don't manually put anything in there because I like keeping my own files separate from config files, which automatically get shoved within /home/rybnik. Also, this way I can automount my home partition to multiple OS's with each OS still having its own config files.

    Quote Originally Posted by s_blum
    AFAIK the YaST partitioner can't create a new ntfs partition.
    Okay, then.

    Quote Originally Posted by s_blum
    If I followed this story correctly, the SSD is now back at ext4 in order to get openSUSE working.
    Correct.

    Quote Originally Posted by s_blum
    So he has to reformat the disk back to NTFS using Windows at first.
    I had already tried this previously, and subsequently opensuse wouldn't boot, even after using a live system to edit the fstab line to ntfs.

    Quote Originally Posted by s_blum
    For setting the mountpoint afterwards however I fully agree to your method using the YaST partitioner prior to editing /etc/fstab manually.
    Ah, so now I see. So I should do the following, yes?

    (1) reformat SSD to ntfs in Windows.
    (2) boot into live system of opensuse, use yast partitioner to set mountpoint
    (3) edit fstab (if need be)

    The following is the output of lsblk

    Code:
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda      8:0    0 931.5G  0 disk 
    ├─sda1   8:1    0  1000M  0 part 
    ├─sda2   8:2    0   260M  0 part /boot/efi
    ├─sda3   8:3    0   128M  0 part 
    ├─sda4   8:4    0   195G  0 part /media/windows
    ├─sda5   8:5    0   350M  0 part 
    ├─sda6   8:6    0  12.9G  0 part 
    ├─sda7   8:7    0  16.6G  0 part [SWAP]
    ├─sda8   8:8    0   500G  0 part /s
    └─sda9   8:9    0  35.2G  0 part /
    sdb      8:16   0  14.9G  0 disk 
    └─sdb1   8:17   0  14.9G  0 part /media/ssd
    sr0     11:0    1  1024M  0 rom

Page 1 of 2 12 LastLast

Posting Permissions

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