LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2016, 08:02 PM   #16
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242

Quote:
Originally Posted by Higgsboson View Post
I don't think you can burn anything onto USB.
I think I have to download a .iso file and then burn it onto a dvd. I then use the dvd to make a fresh install.
Since my dvd rw fails to actually write (burn), then I'll have to buy a new dvd rw. The cost of a Jessie 8.2 dvd however is much cheaper (in my situation).
nope it is called burning as well when you use a UBD Stick

Code:
dd if=/path/to/name-of-.iso of=/dev/sdx && sync
the good thing about this is that you can use your USB stick more then once, it is re-burnable.

remember to umount your USB Stick first and do this in root, or sudo mode. and to always burn it to the sick and not partition. example.

DO NOT DO THIS
Code:
dd if=/path/to/nameOf.iso of=/dev/sdc1 && sync
it has to be the device not partition. it will erase everything on the entire usb stick .... then burn the iso to it.

BE SURE THAT YOU DO NOT OOPS IT by directing it to dd your hard drive itself....

windows users got a go get a windows software (free) and use that.. google it --

Last edited by BW-userx; 02-05-2016 at 08:08 PM.
 
Old 02-05-2016, 08:15 PM   #17
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Thank you. The links were very helpful. I don't have issues with using up disk space, so I'm going to use the normal partitioning scheme.
 
Old 02-05-2016, 08:37 PM   #18
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Higgsboson View Post
If I download a .iso from the repos, then I suspect I'll have to burn to disk. There is no way round that is there? I only ask because after getting some empty dvd disks, I found my dvd player doesn't write properly.
if you only have windows then you can use a number of software IOS burn it to a USB Stick, and save your DVD's see my other post if you have to see about dd if / of to burn to a usb stick

Quote:
My hdd is already formatted and partitioned with 2 OSs on it.
If I use the 'manual' option, will I be able to target the install to a specific partition?
yes use manual other wise it will just use what ever it picks and mess up your system more then not. then tell it where you want it to install and leave the others alone. make sure they are not selected to be formatted just to be safe.

either all of it on /
or
/
/home
or how ever you want it, you can slice it up.

Quote:

I can't remember if I have grub installed on all my debian OSs (4) or if it is in one OS which holds it in the MBR. Sorry if that doesn't make sense.
Is there a cmd which will tell me where grub is and how it starts?
Since I already have grub, I'm going to de-select grub on the fresh install. After installation, I'll boot my old debian OS and run grub-update. After that, grub should be able to see the fresh install. Is that correct?
as far as grub, you can ( I would) have it install grub on the mbr again, then let it boot up into your new insolation then do whatever you want in that.

it should see all of your other Linux and windows on your hard drive if not, then
Code:
sudo update-grub
that install will be the one in control of your grub for itself and all other installs prior to it.

if you want a different linux to handle grub, then boot into that one then just re-install grub over top the old one.

Code:
sudo grub-install /dev/hda # mostly on the first hard drive. MBR
sudo update-grub
 
Old 02-05-2016, 08:52 PM   #19
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Higgsboson View Post
I don't think you can burn anything onto USB.
I think I have to download a .iso file and then burn it onto a dvd. I then use the dvd to make a fresh install.
Since my dvd rw fails to actually write (burn), then I'll have to buy a new dvd rw. The cost of a Jessie 8.2 dvd however is much cheaper (in my situation).
I don't want it to look too much like I am post happy BUT SAVE your dvd drive and DVD's . I'd hate to see your DVD palyer go to S$T, and you're wasting DVD's ...

windows free software to use to brun iso to USB Stick and save a dvd(s).

RUFUS


UltraISO


UNetbootin

RMPrepUSB

Last edited by BW-userx; 02-05-2016 at 08:54 PM.
 
Old 02-05-2016, 09:15 PM   #20
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by 273 View Post
I would ask why you want to install from DVD.
What are tour resources (and USB sticks, for examle?) And what are your goals(minimal system, fancy desktop, picture frame)?
I have a very old 160gb ata hard drive with 3 debian distros on it. I use this all the time.
I also have a 1TB sata hd with Win7 and one other debian OS on it which is hardly used. So I wanted to install Jessie on a seperate partition on this newer hd.
I also have a 64gb USB which has live debian on it.

I prefer gnome classic, so I suppose I want a minimal system.
 
Old 02-05-2016, 09:19 PM   #21
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by un1x View Post
:newbie :
This is the newbie forum. I expect you spend more time on this forum than any other forum...
 
Old 02-05-2016, 09:38 PM   #22
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by BW-userx View Post
nope it is called burning as well when you use a UBD Stick
I have debian live on USB. For my Jessie install, I want it on desktop not USB.

Are you talking about a UBCD?
Or do you mean the Jessie .iso file can be downloaded onto a USB. The pc can then be booted from the USB and this will open the debian installer to install Jessie onto a target partition on a hdd?
 
Old 02-05-2016, 10:30 PM   #23
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Higgsboson View Post
Thank you. The links were very helpful. I don't have issues with using up disk space, so I'm going to use the normal partitioning scheme.
You're welcome, best wishes with your Debian install.

Regards...
 
Old 02-07-2016, 10:57 AM   #24
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Or do you mean the Jessie .iso file can be downloaded onto a USB. The pc can then be booted from the USB and this will open the debian installer to install Jessie onto a target partition on a hdd?
As previous posters have pointed out, you can just write the .iso file to the USB stick device (not partition)
Use mount to see what is mounted, where.
Plug in your usb stick. Use mount again to be sure of where the USB stick is (possibly /dev/sdb )
Use dd to write your jessie installation image directly to the device
Code:
sudo dd if=/path/to/iso   of=/dev/sdb   bs=1M
Wait for it to finish. Count to 10.
Reboot, you should see the Jessie installer, if you have enabled booting from a USB device.
Tell the installer to install to your HDD. I usually choose manual partitioning.

I know this works, as I just tried it (Jessie, Thinkpad W541)
 
1 members found this post helpful.
Old 02-07-2016, 11:32 AM   #25
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by tredegar View Post
As previous posters have pointed out, you can just write the .iso file to the USB stick device (not partition)
Use mount to see what is mounted, where.
Plug in your usb stick. Use mount again to be sure of where the USB stick is (possibly /dev/sdb )
Thank you, this is easy for me to understand.
About a year ago, most people were recommending burning to disc as the easiest option to install debian. So this USB install method is very welcome. Especially as it doesn't require an optical drive and removable disc (as others have already said).

1. Does the .iso file have to be a particular type (e.g. as with debian 'live' USB) or can it be a normal full .iso file?

2. I currently have debian live on my 64gb USB. So I presume the dd cmd will delete the data held on the USB. So after installing Jessie via USB, I can always use another dd cmd to write debian live back onto the USB. Is that correct?

Quote:
Use dd to write your jessie installation image directly to the device
sudo dd if=/path/to/iso of=/dev/sdb bs=1M
3. With this cmd, what does 'bs=1M' do?

4. Also, whilst going through the installer menu and I select 'manual', will all my partitions on the hdd be seen so I can select the correct target partition?
 
Old 02-07-2016, 12:04 PM   #26
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
1. Does the .iso file have to be a particular type (e.g. as with debian 'live' USB) or can it be a normal full .iso file?
An ISO file is "of a particular type", it's a "standard": The International Standards Organisation standard for how to format and write data to CDs and (later) DVDs etc.

Quote:
2. I currently have debian live on my 64gb USB. So I presume the dd cmd will delete the data held on the USB. So after installing Jessie via USB, I can always use another dd cmd to write debian live back onto the USB. Is that correct?
I am surprised that "debian live" doesn't offer the option to "Install Debian" (to your HDD). Have a look around your live desktop / menus.

The dd command will delete all the data on the destination drive (well, to be pedantic, over-write some of it, and make the rest awkward, but not impossible to recover).

Yes you can use "another dd cmd to write debian live back onto the USB", but only if you have the source file available (if you don't already have access to "the internet" )

Quote:
3. With this cmd, what does 'bs=1M' do?
Some people here might suggest you try man dd before asking this question. But it sets a larger than-default-block size, which speeds up the transfer, and saves you time.

Quote:
4. Also, whilst going through the installer menu and I select 'manual', will all my partitions on the hdd be seen so I can select the correct target partition?
Yes. All partitions on all attached storage devices can be listed. Take care, I cannot help you if you hose your windows installation. The last version of windows I used at home was win98.
 
1 members found this post helpful.
Old 02-07-2016, 12:55 PM   #27
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Higgsboson View Post
I have debian live on USB. For my Jessie install, I want it on desktop not USB.

Are you talking about a UBCD?
Or do you mean the Jessie .iso file can be downloaded onto a USB. The pc can then be booted from the USB and this will open the debian installer to install Jessie onto a target partition on a hdd?

as many have already written about it in here,

Just get ahold of the debian Jessy DVD CD1 iso. that is all you'll need to install it and get it up and running, the rest of the DVD iso are just what is in the repo, you can use on line to update and install anything else you may want.

these both work, I just had the i386 for my VBox to play with...

it is this simple seeing how you have access to a terminal off of linux.

Code:
# Unmount your USB Stick first
 sudo umount /dev/sdx

sudo  dd if=debian-8.3.0-i386-DVD-1.iso of=/dev/sdx && sync
or
sudo  dd if=debian-live-8.2.0-amd64-xfce-desktop.iso of=/dev/sdx && sync
you can still install a full blown Debian on your hard drive off a live iso.
the second one is how I got Debian installed on my laptop back when I was still using Debian. I've moved on...

(redundent statment)
just boot into your USB that has the Stick in it

Last edited by BW-userx; 02-07-2016 at 01:03 PM.
 
Old 02-07-2016, 01:27 PM   #28
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by tredegar View Post
An ISO file is "of a particular type", it's a "standard": The International Standards Organisation standard for how to format and write data to CDs and (later) DVDs etc.
That's good to know.
Since a USB is a ssd, making constant deletions to the ssd will wear it away. To counteract this, debian 'live' is a special .iso which does not have persistence.
However, there are methods to add persistence to a 'live' debian USB. After realising I rarely use my debian 'live' USB and the fact that wear levelling software on the USB increases its longevity, I believe a full debian OS can be installed to a USB. IMO.
If the USB begins to wear, simply get another USB. It's a bit cheaper than a new hdd.

Quote:
I am surprised that "debian live" doesn't offer the option to "Install Debian" (to your HDD). Have a look around your live desktop / menus.
Ha ha. That takes me back to the good old days over a year ago.
I can confirm there is no debian installer on the debian 'live' USB. If anyone has a different experience, I would be happy to learn more!

Quote:
The dd command will delete all the data on the destination drive (well, to be pedantic, over-write some of it, and make the rest awkward, but not impossible to recover).
I see. I will install a fresh debian 'live' OS onto the USB (after installing the Jessie OS), so I can access partitions and install/remove files for troubleshooting.

Quote:
Yes you can use "another dd cmd to write debian live back onto the USB", but only if you have the source file available (if you don't already have access to "the internet"
Good point

Quote:
Some people here might suggest you try man dd before asking this question. But it sets a larger than-default-block size, which speeds up the transfer, and saves you time.
Thank you.

Quote:
Yes. All partitions on all attached storage devices can be listed. Take care, I cannot help you if you hose your windows installation. The last version of windows I used at home was win98.
I always sandbox my Windows OS by simply removing the ethernet from the router. I use it for printer/video games/video which I haven't yet made compatible with linux
 
Old 02-07-2016, 01:39 PM   #29
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Higgsboson View Post
Ha ha. That takes me back to the good old days over a year ago.
I can confirm there is no debian installer on the debian 'live' USB. If anyone has a different experience, I would be happy to learn more!
I am using a live Debian ISO right now for installing it to a hard drive. it has an option. just got a look about three lines down install debian
 
Old 02-07-2016, 02:19 PM   #30
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by BW-userx View Post
I am using a live Debian ISO right now for installing it to a hard drive. it has an option. just got a look about three lines down install debian
What version is it?
 
  


Reply



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] How to provide non-free firmware files to the Debian Jessie Installer. luvr Debian 39 01-20-2022 04:16 AM
LXer: Debian Installer Jessie RC 3 Screenshot Tour LXer Syndicated Linux News 0 04-21-2015 10:29 PM
LXer: Debian Installer Jessie RC 3 LXer Syndicated Linux News 0 04-21-2015 01:50 PM
LXer: Trying Out The Debian 8.0 Jessie Installer Alpha 1 LXer Syndicated Linux News 0 03-21-2014 02:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 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
Open Source Consulting | Domain Registration