Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

My adventures making a live USB

Off-Topic discussions about science, technology, and non Debian specific topics.
Message
Author
User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: My adventures making a live USB

#16 Post by Head_on_a_Stick »

sunrat wrote:when specifying BS, does it map transfers exactly to hardware blocks? Obviously it can't with BS=512B or 4M if hardware blocks are 4k.
Well, I can't claim to know the technical details but it does seem that a bs setting that is not an exact multiple of the sector size on the disk would cause some transfer inefficiencies.

The beauty of the cp method is that sort of detail is left to the kernel, which I'm pretty sure knows better than me :)
deadbang

User avatar
dotlj
Posts: 646
Joined: 2009-12-25 17:21

Re: My adventures making a live USB

#17 Post by dotlj »

I have used cat example.iso > /dev/sdx for many years, much like using cp and it's never failed. I have used dd but for install images, you can't go wrong with cat.

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: My adventures making a live USB

#18 Post by Bulkley »

sunrat wrote:Here's the exact command I used:

Code: Select all

dd if=MX-17.RC1_x64.iso of=/dev/sdd bs=4M && sync
Works perfectly.
When I run

Code: Select all

dd if=MX-17_x64.iso of=/dev/sdb bs=4M && sync
what I get is a beautiful antiXlive USB with antiX, boot and EFI directories plus cdrom.ico and version. It looks great! tUnfortunately it is not recognized by either of my computers and won't boot.

For the record, my desktop runs Debian Stretch with openbox and my laptop runs Devuan Jessie. Both machines are more than eight years old.

Edit: I changed the laptop BIOS from UEFI to Legacy and it booted the MX live USB. Why does that help?

User avatar
Thorny
Posts: 542
Joined: 2011-02-27 13:40

Re: My adventures making a live USB

#19 Post by Thorny »

Head_on_a_Stick wrote:How dare you! :x

Chuckle! I dare because I am an old guy and don't care what anyone thinks of me. I am retired and past caring about my rep as it won't affect my income or my ability to enjoy my life on the downhill slope. ;-)
Head_on_a_Stick wrote:I never used #!, I went straight to Arch 'cos Waldorf's crusty old kernel didn't support my hardware :mrgreen:
I'm sorry for offending you. That explains why I don't remember you from #! forums, I had an install for a while but I always liked real Debian better. It was nice that the developer actually responded to posts sometimes and that is also one of the strengths of MX, developers take part and that may even be one of the reasons that it is so polished.
Head_on_a_Stick wrote:Anyway, what sort of ****ing idiot would sit there typing out

Code: Select all

# dd if=example.iso of=/dev/sdb bs=4k
When `cp example.iso /dev/sdb` does exactly the same thing...
Well, I can't speak for all the ****ing idiots out here but I probably do it from habit, when I find something that works I tend to keep using it. The older I get the more I dislike change.
Head_on_a_Stick wrote:(Please don't find this disrespectful, I don't mean it to be.)
I don't at all, I like for people to speak(write) their minds plainly. One of the good things about DUF is that the Moderation is not heavy handed. In my opinion, it is much more like the real world than the forums for that OS that should not be named. ;-)
BTW, I truly meant that comment.

User avatar
Thorny
Posts: 542
Joined: 2011-02-27 13:40

Re: My adventures making a live USB

#20 Post by Thorny »

Bulkley wrote: When I run

Code: Select all

dd if=MX-17_x64.iso of=/dev/sdb bs=4M && sync
what I get is a beautiful antiXlive USB with antiX, boot and EFI directories plus cdrom.ico and version. It looks great! tUnfortunately it is not recognized by either of my computers and won't boot.
After I shot my mouth off yesterday, I decided I'd better check to make sure. So I dd'd the ISO I had to a 2G stick and when finished I took it to my netbook and booted it up to that stunning MX desktop.

I used MX-17_January_x64.iso, is that the same version you used?
Bulkley wrote:Edit: I changed the laptop BIOS from UEFI to Legacy and it booted the MX live USB. Why does that help?
Maybe stevo can answer that, if he choses to, I am not familiar with UEFI although I've seen quite a few posts about early UEFI on older machines that are not standards compliant.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: My adventures making a live USB

#21 Post by Head_on_a_Stick »

Thorny wrote:I'm sorry for offending you
No, please, no offence was taken at all and I do hope my rather colourful reply did not ruffle your feathers too much — I was trying to have a little bit of banter but my social skills are somewhat lacking so that is always a risky move.

:mrgreen:

EDIT: to stay on topic: the MX-17 ISO image does appear to support UEFI booting:

Code: Select all

alpine:~$ parted Downloads/MX-17_x64.iso print
WARNING: You are not superuser.  Watch out for permissions.
Model:  (file)
Disk /home/empty/Downloads/MX-17_x64.iso: 1273MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start  End     Size    Type     File system  Flags
 2      170kB  3586kB  3416kB  primary               esp

alpine:~$
deadbang

Innovate
Posts: 188
Joined: 2015-12-27 01:28

Re: My adventures making a live USB

#22 Post by Innovate »

It's a cross-platfrom application.
I've known that liveusb install before unetbootin since on windows before came here.
How could many linux ppl forget about it?
Debian was lack unetbootin from jessie, stretch long ago
download liveusb install .deb file & install would be piece of cake on debian jessie, stretch.

User avatar
Thorny
Posts: 542
Joined: 2011-02-27 13:40

Re: My adventures making a live USB

#23 Post by Thorny »

Head_on_a_Stick wrote:
Thorny wrote:I'm sorry for offending you
No, please, no offence was taken at all and I do hope my rather colourful reply did not ruffle your feathers too much — I was trying to have a little bit of banter but my social skills are somewhat lacking so that is always a risky move.
No problem. I am Aspie. However I have lived long enough and had enough painful experience to learn some ways to exist along with the normals. Banter is fine and yours is generally intelligent and that is appreciated. Sometimes I chuckle at what you write to others. I have a lot of respect for your technical skill, I don't know even half of what you know about video cards. Thumbs up.

And now, before someone accuses me of "white knighting" you, I'll STFU. ;-)

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: My adventures making a live USB

#24 Post by Bulkley »

Innovate wrote:download liveusb install .deb file & install would be piece of cake on debian jessie, stretch.
It is. Liveusb install can be installed via

Code: Select all

gdebi live-usb-install-2.5.12-all.deb
or one can open

Code: Select all

zxvf live-usb-install-2.5.12.tar.gz
and run from inside ~/live-usb-install with

Code: Select all

./live-usb-install.py
. Either way, while you can do practise runs as user you need to be root for it to stick.

As Innovate noted, Liveusb install is a Windows application that has been Linuxized.

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: My adventures making a live USB

#25 Post by Bulkley »

[quote="Thorny"]. . . I've seen quite a few posts about early UEFI on older machines that are not standards compliant./quote]

That explains a lot. Thanks. I suspect that much has changed since the first time I made a live-CD. For one thing, distros have become bloated and won't fit on a CD, thus the USB. To put this in perspective, my first Linux (Caldera) came on a single 3 1/2" floppy disk that I found in the back of a magazine.

User avatar
Pick2
Posts: 790
Joined: 2007-07-07 13:31
Location: Decatur Il

Re: My adventures making a live USB

#26 Post by Pick2 »

Thorny wrote:... to learn some ways to exist along with the normals. ;-)
We call them Mundanes here :)

Just kidding :P

User avatar
Thorny
Posts: 542
Joined: 2011-02-27 13:40

Re: My adventures making a live USB

#27 Post by Thorny »

[OT]
Pick2 wrote:We call them Mundanes here :)
Chuckle!

Innovate
Posts: 188
Joined: 2015-12-27 01:28

Re: My adventures making a live USB

#28 Post by Innovate »

Bulkley wrote: As Innovate noted, Liveusb install is a Windows application that has been Linuxized.
I should thank you for you to confirm review how far better it is. Now I'm confident with this tool.
In fact, I was doubt how far it's good/bad from unetbootin it's been underrated so long no review until finally today.
I was planned to choose pre-install between unetbootin vs liveusb install on my custom build debian but hesitate until now.

There're many rare gems of these apps floating every where on internet & github.

Post Reply