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.
Well I read on their site that the main way was just treat the flash drive as a regular hard drive and install it on there... so I went ahead and did that (keep in mind other OS's do work fine) and everytime I try to install it, whether graphical.. or not.. or automatic.. I get a GRUB boot loader error at the very end of the install, after it does everything.. so the only thing that is failing is the boot loader.
Does anyone have any tips or tricks? I'm working virtually right now, since after I had this error I tried on a separate machine but it was the same error and it only seems to happen with debian. If anyone needs to I'm open to remote connecting and you can show me some things.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
If you mean a regular Debian install you can do it and is not hard to do.
If you are talking about DebianLive and running it as a live session that is more difficult. I have successfully set up multiple DebianLive isos on a flash drive once doing it manually. You can use multisystem to do it but even multisystem has difficulty running in Debian so you will probably need an Ubuntu install to make a Live session USB with Debian on it.
Next, run gparted (or whatever you use) as root (umount the usb drive if needed)
*set the first partition as boot (label)
*add a new partition for persistence with label live-rw
1. Getting the installable image on a bootable USB stick is half the battle - it sounds like you've already accomplished that. Cool
2. Q: What's the exact error message? That would help enormously...
Something along the lines of "Grub: failed to install bootloader" I'll reinstall now so I can get the exact message. I'm not sure but it seems you're talking about putting an install image on there? To install to other computers? I am talking about putting a full installed version that boots, to the desktop, when you plug it in a computer and boot to from USB
Quote:
Originally Posted by k3lt01
If you mean a regular Debian install you can do it and is not hard to do.
If you are talking about DebianLive and running it as a live session that is more difficult. I have successfully set up multiple DebianLive isos on a flash drive once doing it manually. You can use multisystem to do it but even multisystem has difficulty running in Debian so you will probably need an Ubuntu install to make a Live session USB with Debian on it.
Well a live boot would be closer to what I want, but a live boot you cannot write to (since they're CD's or DVD's usually) I want an actual install
Next, run gparted (or whatever you use) as root (umount the usb drive if needed)
*set the first partition as boot (label)
*add a new partition for persistence with label live-rw
... and you're done.
Sorry you totally lost me, are you talking about doing this within a linux distro? (no problem, I'm far from limited on resources, just tell me what I need to get this going)
A little more info on what exactly I am doing:
I normally run my dedicated machines off of USB flash and have multiple copies of the OS, in case it goes down it's a quick switch and bam, back up and running.
Inside the machines I usually have two drives that are raid1 where I'll have all of my database information being read and written or my web information, etc...
So these would be just OS installs, and ext2 would be preferred if anyone has an idea how to do that. I have never had any problems before so I am totally lost - I don't really know that much about linux especially installing... I know more of setting up database and web stuff
Journaling is very nice if, for example, the power is interrupted or the flash drive is accidentally removed during operation.
Just a suggestion.
The flash drive has no information that changes on it, it's just the operating system.
I'll have and do have multiple clones of the setups for all machines, power doesn't go out and there are many big UPS' here.
Thanks for the suggestion, that's more toward mechanical drives though which I will have and will be doing and have only had better results in the past doing it this way.
The exact errors I'm getting are coming up in a few minutes, it says 1 minutes 20 seconds remaining on the downloads for the install
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by GreggT
Well a live boot would be closer to what I want, but a live boot you cannot write to (since they're CD's or DVD's usually) I want an actual install
Check this and this out. The site has instructions and of you want more head over to PendriveLinux. As already stated create 2 partitions with the second being a rw for persistence and you are done.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
The flash drive should be seen as just another drive. I'm not sure with the availability of DebianLive I'd be trying a netinst on a flash drive anyway.
I have to go out for a while but I might try later today to do what you are doing and see what happens.
The flash drive should be seen as just another drive. I'm not sure with the availability of DebianLive I'd be trying a netinst on a flash drive anyway.
I have to go out for a while but I might try later today to do what you are doing and see what happens.
Lead me in the correct way I am "medium level" familiar with linux once I'm inside but as far as installing I'm pretty much brand new, other than just clicking next through everything or setting up a basic raid 1...
I'm unfamiliar with DebianLive netinstall? I am all ears, all I need to be able to do is boot from the USB to the desktop (GUI desktop is nice but I can work through a non GUI too.. either way GRUB is the problem I have) and then I need to be able to edit some key files that will save when restarting or something, like the apache2.conf and other files / firewall settings.. on the live CD I cannot do this
I have never really done anything with DebianLive but it seems you recommend it? Let me know when you get back, I'll download them now so I am ready to go, thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.