Page 5 of 5 FirstFirst ... 345
Results 41 to 50 of 50

Thread: Persistence and Live Opensuse 12.3 USB

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

    Default Re: Persistence and Live Opensuse 12.3 USB

    On 2013-04-09 03:46, pomchip wrote:
    > Tried it on the official live CD, same results. I guess I will have to
    > file a bug.


    Please tell us the number when you do it.
    Then I can also ask in the mail list and point to it.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  2. #42

    Default Re: Persistence and Live Opensuse 12.3 USB

    Quote Originally Posted by hendersj View Post
    On Tue, 09 Apr 2013 23:58:06 +0000, Carlos E. R. wrote:

    sudo dd if=/dev/sdb bs=1 count=2315255808 | md5sum

    sudo dd if=/dev/sdb bs=33554432 count=69 | md5sum

    Jim
    Wow... I did not anticipate so much activity from my question. Thanks you guys for your time Really appreciated.

    Is 2315255808 the size of the original image file (the one that I dd'ed to my USB drive) or the size of the image once copied to the USB drive?

  3. #43

    Default Re: Persistence and Live Opensuse 12.3 USB

    Quote Originally Posted by robin_listas View Post
    On 2013-04-09 03:46, pomchip wrote:
    > Tried it on the official live CD, same results. I guess I will have to
    > file a bug.


    Please tell us the number when you do it.
    Then I can also ask in the mail list and point to it.

    --
    Cheers / Saludos,
    Using my custom .raw image:

    Code:
    # md5sum OpenSUSE_12.3__KDE4.i686-0.0.1.raw 
    4bf3ca40f9b64054da0197e09d12fb88  OpenSUSE_12.3__KDE4.i686-0.0.1.raw
    #
    # dd if=/home/sebastien/Downloads/OpenSUSE_12.3__KDE4.i686-0.0.1.raw of=/dev/sde bs=4k
    619520+0 records in
    619520+0 records out
    2537553920 bytes (2.5 GB) copied, 390.609 s, 6.5 MB/s
    #
    # fdisk /dev/sde
    
    Command (m for help): p
    
    Disk /dev/sde: 8054 MB, 8054636032 bytes
    130 heads, 13 sectors/track, 9308 cylinders, total 15731711 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x7a5a5c42
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sde1   *        2048     4956159     2477056   83  Linux
                                                                                                                                      
    Command (m for help): Q
    #
    #dd if=/dev/sde bs=15731711 count=512 | md5sum                                              
    512+0 records in                                                                                                                  
    512+0 records out
    8054636032 bytes (8.1 GB) copied56195e23549c88c798ca5119aa8c7eed  -
    , 307.363 s, 26.2 MB/s
    I started running "dd if=/dev/sde bs=1 count=8054636032 | md5sum" but did not have enough time this morning before I left home. This seems to take forever to run (>10 min). I'll try again tonight.

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

    Default Re: Persistence and Live Opensuse 12.3 USB

    On 2013-04-10 12:56, pomchip wrote:

    > Is 2315255808 the size of the original image file (the one that I dd'ed
    > to my USB drive) or the size of the image once copied to the USB drive?


    The original image file.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

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

    Default Re: Persistence and Live Opensuse 12.3 USB

    On 2013-04-10 14:06, pomchip wrote:

    > I started running "dd if=/dev/sde bs=1 count=8054636032 | md5sum" but
    > did not have enough time this morning before I left home. This seems to
    > take forever to run (>10 min). I'll try again tonight.


    bs=1 takes a very long time because it reads in chunks of 1 byte, with
    the entire usb overhead. It is very slow. If you have lots of free ram
    use instead "bs=imagesize count=1". You need at least imagesize free
    ram, or it will be very slow.

    Or use this code, it is fast and simple, no math required:

    Code:
    head /dev/sdX --bytes=SIZE_OF_IMAGE_FILE | md5sum -b
    Replace X and SIZE_OF_IMAGE_FILE with the appropriate values.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  6. #46

    Default Re: Persistence and Live Opensuse 12.3 USB

    Checksums matched !

    Code:
    # md5sum OpenSUSE_12.3__KDE4.i686-0.0.1.raw 
    4bf3ca40f9b64054da0197e09d12fb88  OpenSUSE_12.3__KDE4.i686-0.0.1.raw
    # head /dev/sdc --bytes=2537553920 | md5sum
    4bf3ca40f9b64054da0197e09d12fb88  -
    Now I am going to try Jim's suggestion to run configfile (hd0,msdos0)/boot/grub2/grub.cfg upon boot.

  7. #47

    Default Re: Persistence and Live Opensuse 12.3 USB

    Running "configfile (hd0,msdos0)/boot/grub2/grub.cfg" did not seem to do anything. Maybe I need to adjust the command to some local settings. Any idea?

    Really sorry for all those newbie questions.

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

    Default Re: Persistence and Live Opensuse 12.3 USB

    On 2013-04-10 23:16, pomchip wrote:
    >
    > Running "configfile (hd0,msdos0)/boot/grub2/grub.cfg" did not seem to do
    > anything. Maybe I need to adjust the command to some local settings. Any
    > idea?


    On that part I can not help, sorry.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  9. #49

    Default Re: Persistence and Live Opensuse 12.3 USB

    Thanks Carlos for your help on md5sum

  10. #50

    Default Re: Persistence and Live Opensuse 12.3 USB

    I found this as well, BTW - I was able to work around it by issuing:

    configfile (hd0,msdos0)/boot/grub2/grub.cfg

    Not sure why it didn't load the config file, still doing the first boot
    right now, but it looks like that's probably a bug.

    Jim.
    Hi Jim,

    I was wondering if you managed to get your test USB stick working with this command. I did not.

Page 5 of 5 FirstFirst ... 345

Posting Permissions

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