LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 06-13-2013, 11:08 PM   #1
WhiteHotLoveTiger
Member
 
Registered: Jun 2012
Location: NB, Canada
Distribution: Slackware
Posts: 66

Rep: Reputation: 1
Why can't I simply dd an installation iso to a bootable partition and install?


I have a copy of the Slackware 64 bit dvd installation iso. I've burned this image to a dvd and used it to properly install the distro. I wanted to try also having this image available on a usb flash drive. I divided a 32 GB drive into two partitions: 1, about 22 GB for data; and 2, about 10 GB for messing around with installers (set as bootable). I dd'd the contents of the installation iso to the bootable partition on the flash drive. However, when I tried booting from the usb installer, I was greeted with a message about not being able to find an operating system.

I've previously installed Slackware to a bootable partition on a flash drive and had it properly boot on different machines. This time around, I'd like to have the installer rather than an installed system though.

What am I doing wrong?
 
Old 06-13-2013, 11:27 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,748

Rep: Reputation: 159Reputation: 159
You can use Eric's script to create an installation USB stick. It is in the "usb-and-pxe-installers" directory. The script is called: "usbimg2disk.sh".

Quote:
Originally Posted by usbimg2disk.sh
Purpose #2: to use the contents of a Slackware directory tree and transform a standard USB thumb drive with a single vfat partition and 2GB of free space into a self-contained USB installation medium for Slackware Linux.
 
Old 06-13-2013, 11:28 PM   #3
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 393

Rep: Reputation: 116Reputation: 116
I think the first (obvious) answer is that your /etc/fstab entries for / and /boot probably point to /dev/sda (your first hard disk). Chances are then that the machine you booting the USB from already has a disk in it and the USB is now /dev/sdb (or higher). But there are also timing issues to do with when USB modules are loaded. What you are wanting to do is definitely possible - just not as simple as what you expect it to be. But if you copied (via) dd to another hard drive, and made that the first disk on a machine, chances are good that it will boot.
 
Old 06-13-2013, 11:37 PM   #4
NeoMetal
Member
 
Registered: Aug 2004
Location: MD
Distribution: Slackware
Posts: 93

Rep: Reputation: 8
I think this has to do with the difference in filesystems, and the resulting difference in isolinux vs syslinux to boot, the dvd image has to swap out isolinux for syslinux before you write it out to a usb

Last edited by NeoMetal; 06-13-2013 at 11:39 PM.
 
Old 06-14-2013, 12:53 AM   #5
jprzybylski
Member
 
Registered: Apr 2011
Location: Canada
Distribution: Slackware
Posts: 86

Rep: Reputation: 21
Try using isohybrid on the image, as in:

Code:
isohybrid slackware-14.0.iso
Fill in the name as appropriate. Then use dd from the iso image directly to the drive, not a partition, like so:

Code:
dd if=slackware-14.0.iso of=/dev/sdb
Then use a partitioning tool like cfdisk to create additional partitions if needed on the drive.
 
  


Reply

Tags
installer, usb boot


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a bootable partition from ISO? User376 Linux - Newbie 4 06-09-2013 09:27 PM
Make linux install into bootable iso ylang Linux - General 1 01-03-2013 09:47 PM
[SOLVED] If I dd copy a bootable usb drive to an iso will the iso be bootable? mgallatin Linux - Software 5 03-23-2011 04:46 PM
Create Bootable Simply Mepis USB drive from CD ISO duryodhan MEPIS 0 11-16-2006 11:23 PM
making a bootable install disk from a downloaded iso Draylath Linux - Newbie 7 08-14-2004 03:54 PM


All times are GMT -5. The time now is 04:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration