LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-04-2017, 10:42 PM   #1
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 29

Rep: Reputation: 0
Bootable USB Flash Drive


I'm on an Acer chromebook (the specs are below). I got crouton and did sudo bash. I ran the following command to make a bootable USB flash drive and install Slackware 14.2 on that same 32GB USB flash drive:

dd if=/home/chronos/user/Downloads/slackware-14.2-install-d1.iso of=/dev/sda1 bs=4MB; sync

Will that give me a bootable USB stick drive?

Acer Chromebook R 11 Convertible, 11.6-Inch HD Touch, Intel Celeron N3150, 4GB DDR3L, 32GB, Chrome, CB5-132T-C1LK
 
Old 08-04-2017, 10:52 PM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan, Slackware
Posts: 423

Rep: Reputation: 105Reputation: 105
Omit the partition number
Code:
dd if=/home/chronos/user/Downloads/slackware-14.2-install-d1.iso of=/dev/sda bs=4MB; sync
Note that this creates a live cd, and no changes will be saved when you shutdown. You will have a "fresh" slackware each time you boot. If you want changes to persist, install to the usb using the installer provided by the iso

Last edited by TheEzekielProject; 08-04-2017 at 10:54 PM.
 
Old 08-04-2017, 11:26 PM   #3
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TheEzekielProject View Post
Omit the partition number
What do you mean by this?

Quote:
Originally Posted by TheEzekielProject View Post
Note that this creates a live cd, and no changes will be saved when you shutdown. You will have a "fresh" slackware each time you boot. If you want changes to persist, install to the usb using the installer provided by the iso

The dd command is so I can boot off the stick drive and get going with the installation. That's my intention - to install Slackware with the installer that comes with d1.
 
Old 08-04-2017, 11:33 PM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan, Slackware
Posts: 423

Rep: Reputation: 105Reputation: 105
I mean it should be
Code:
of=/dev/sda
not
Code:
of=/dev/sda1
Quote:
I ran the following command to make a bootable USB flash drive and install Slackware 14.2 on that same 32GB USB flash drive:
Also, if you are putting the .iso on the usb, you will not be able to boot from and install to the same usb that the .iso is currently running on.

Last edited by TheEzekielProject; 08-04-2017 at 11:35 PM.
 
Old 08-04-2017, 11:42 PM   #5
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 0
Thank you for your replies TEP!

If sda isn't the hard drive then what series of letters represent the hard drive? I put sda1 to avoid writing the .iso to it.
 
Old 08-04-2017, 11:59 PM   #6
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan, Slackware
Posts: 423

Rep: Reputation: 105Reputation: 105
/dev/sda is a block device on your system, /dev/sda1, /dev/sda2 etc, are partitions on the block device.

I'd definitely recommend double and even triple checking that you do select the device you are intending to install to as picking the wrong one will delete EVERYTHING on that device!

You should be able to find the proper device by running
Code:
lsblk
You should get output similar to
Code:
lsblk
NAME          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda             8:0    0 223.6G  0 disk  
├─sda1          8:1    0   512M  0 part  /boot/efi
└─sda2          8:2    0 223.1G  0 part  /
sdb             8:16   0   1.8T  0 disk  
└─home        254:0    0   1.8T  0 crypt 
  ├─home-home 254:1    0   1.8T  0 lvm   /home
  └─home-swap 254:2    0    19G  0 lvm   [SWAP]
sdd             8:48   0   2.7T  0 disk  
└─sdd2          8:50   0   2.7T  0 part  
  └─3tb       254:3    0   2.7T  0 crypt /media/3tb
sr0            11:0    1  1024M  0 rom
Since you have a 32GB usb, look for a 32GB (or thereabout) in SIZE and note its device name.
 
1 members found this post helpful.
Old 08-05-2017, 12:02 AM   #7
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 0
The problem would be that my CB hard drive is also 32GB!
 
Old 08-05-2017, 12:06 AM   #8
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan, Slackware
Posts: 423

Rep: Reputation: 105Reputation: 105
In that case I would run lsblk without the usb attached and then with it attached and compare output. You should be able to get the proper device name.
 
Old 08-05-2017, 12:13 AM   #9
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 0
Yes, I'm aware of the comparison technique.

Both sda and sda1 pop up. So, I'll use sda with the dd command as you recommended. But not right now 'cause I'm busy with some math problems. I'll get to that tomorrow morning and I'll let you know how it went.
 
Old 08-05-2017, 12:17 AM   #10
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan, Slackware
Posts: 423

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by tacticsWiz View Post
Yes, I'm aware of the comparison technique.

Both sda and sda1 pop up. So, I'll use sda with the dd command as you recommended. But not right now 'cause I'm busy with some math problems. I'll get to that tomorrow morning and I'll let you know how it went.
Ok, so sda1 is a partition on sda. These are the same device.
Devices are differentiated by the last letter. e.g. /dev/sda, /dev/sdb, /dev/sdc, etc, these are separate physical devices.

Edit: I just want to make it abundantly clear. I'd hate for you to completely wipeout your Chromebook OS because of a miscommunication

Last edited by TheEzekielProject; 08-05-2017 at 12:19 AM.
 
Old 08-05-2017, 12:27 AM   #11
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 0
sda is my USB flash drive. I know because when I put sda1 in the dd command all the files got written to the usb drive.

Question: So putting sda rather than sda1 will make my USB stick drive bootable and get rid of errors?
 
Old 08-05-2017, 12:35 AM   #12
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan, Slackware
Posts: 423

Rep: Reputation: 105Reputation: 105
When you are dd'ing an .iso file to a flash drive, yes.
 
Old 08-05-2017, 12:37 AM   #13
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 0
Gotcha! :-)
 
Old 08-05-2017, 12:42 AM   #14
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan, Slackware
Posts: 423

Rep: Reputation: 105Reputation: 105
Good luck! Come back if you have any more questions!
 
Old 08-05-2017, 01:22 PM   #15
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 0
Black screen

Quote:
Originally Posted by TheEzekielProject View Post
Good luck! Come back if you have any more questions!
OK, so I got this thing to boot from the USB drive, but after I pressed enter at "boot:", you know, where it tells you to enter any parameters if you have any to enter, the screen went stark black right away, and it's non-responsive. No characters, no beeping sounds, nothing.

I wish I could provide more info or text snippets from the screen. But, that's pretty much all that happens.

It happens right after I press enter and before the text starts rolling by - so I don't get to see any booting up text at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need help making a bootable USB flash drive from a bootable CD. Gregg Bell Linux - Software 8 01-06-2016 01:38 PM
Cloning bootable USB flash drive onto larger flash drive - best method? cilbuper Linux - General 5 02-26-2014 09:51 AM
[SOLVED] Bootable USB flash drive muhamed.ahmovic Linux - Newbie 2 10-17-2012 01:07 AM
Bootable USB Flash Drive saurabhchokshi Linux - Newbie 1 07-15-2009 07:42 PM
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration