[SOLVED] Installing debian Jessie from dvd need help with the installer
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 --
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
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).
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by 273
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.
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by BW-userx
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?
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)
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by tredegar
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?
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.
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
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by tredegar
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.