Re: Problems when creating Live-boot usb stick

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  On 07/08/2010 11:41 PM, Abu Attar Musharih wrote:
> Hi,
>
> It is good to have several methods available.
> Before installing 'gparted', I again use the native command dd,
> -----------------------------------------------------------------
>> dd if=/dev/zero of=/dev/sdb
> dd: writing to `/dev/sdb': No space left on device
> 15663105+0 records in
> 15663104+0 records out
> 8019509248 bytes (8.0 GB) copied, 2748.04 s, 2.9 MB/s
> --------------------------------------------------------------------
> It seems OK up to this point. The 8G is there. However, partitioning
> with /sbin/fdisk and reformatting with mke2fs did not gave 8G.
>> mke2fs -j /dev/sdb1 -L 8G-USB'
> The browser shows only 6.8 G free. I should probably format with FAT32
> OR perhaps the file browser of genome on FC7 failed to show the actual
> amount of free space.
I used  livecd-iso-to-disk  to install f13 on an 8gb flash.
$ df -k /sdc1
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdc1              7984216   3267344   4716872  41% /sdc1

$ mount | grep sdc1
/dev/sdc1 on /sdc1 type vfat (rw)

$ sudo fdisk -l /dev/sdc

Disk /dev/sdc: 8195 MB, 8195670016 bytes
253 heads, 62 sectors/track, 1020 cylinders
Units = cylinders of 15686 * 512 = 8031232 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00010690

    Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        1020     7999829    b  W95 FAT32

$ ls /sdc1
BOOTEX.LOG*  My_Music/                 RPM-GPG-KEY-fedora-i386*
EFI/         Packages/                 RPM-GPG-KEY-fedora-sparc*
GPL*         repodata/                 RPM-GPG-KEY-fedora-sparc64*
images/      RPM-GPG-KEY-fedora*       RPM-GPG-KEY-fedora-x86_64*
isolinux/    RPM-GPG-KEY-fedora-13-primary*  syslinux/
media.repo*  RPM-GPG-KEY-fedora-13-SPARC*    TRANS.TBL*

So, perhaps vfat make more of the flash available for data
than ext3fs.


>
> Back to my main subject, I tried "livecd-iso-to-disk" for creating a
> live-boot stick.
> It did not work on my FC7, a couple of packages are missing
> (checkisomd5 and udevadm).
> The messages are
>
> ---------------------------------
> [root@localhost LiveOS]# ./livecd-iso-to-disk --overlay-size-mb 512
> /home/me/Download/Fedora-13-i686-Live.iso /dev/sdb1
> Verifying image...
> ./livecd-iso-to-disk: line 399: checkisomd5: command not found
> Are you SURE you want to continue?
> Press Enter to continue or ctrl-c to abort
>
> ./livecd-iso-to-disk: line 50: udevadm: command not found
> basename: missing operand
> Try `basename --help' for more information.
> Partition isn't marked bootable!
> You can mark the partition as bootable with
> # /sbin/parted /dev//
> (parted) toggle N boot
> (parted) quit
> Cleaning up to exit...
> --------------------------------------
>
> Then, I got back using the dd and it is now OK.
>
> -----------------------
> dd if=Fedora-13-i686-Live.iso of=/dev/sdb1
> 1382400+0 records in
> 1382400+0 records out
> 707788800 bytes (708 MB) copied, 589.826 s, 1.2 MB/s
> ------------------------
>
> Last step, just need to "chown" the mount point for the media to be 
> writeable.
>
> root> chown username /media/disk/
>
> Thanks,
> AA

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux