Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > all things UNIX
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old October 22nd, 2008, 11:56 PM
zopzop's Avatar
zopzop zopzop is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 594
Default Linux pros please help me....

Hey I've been messing around with different Linux distros and I think I've found one I really like (gOS) and want to stick with. I haven't actually installed it on any of my HDDs but I've been playing around with it on the livecd.

I recently purchase a 8gig USB pendrive and I wanted to see if I can install gOS on it. The thing is I was googling around and I found this link :
http://www.pendrivelinux.com/2008/03...-from-windows/

I followed the instructions but it didn't work! Now I'm sort of confused. How do I install it on a usb pendrive?

NOTE : There is something I noticed on the livecd. When I run the livecd, I see an option on the gOS desktop called "Install". I realize this is the option if you want to install gOS on your HDD. But what I want to know is this : what happens if I choose the "Install" option and instead of choosing a HDD I choose my usb pendrive?
__________________
Current Security Apps -
Desktop/Laptop : SRP + LUA + KAFU, Antivir (free - on demand)

LUA+SRP+KAFU = WIN!!!111
  #2  
Old October 23rd, 2008, 01:49 AM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,433
Default Re: Linux pros please help me....

Hello,
It will work, except that you need to pay attention to where the bootloader is installed. And of course, you'll have to make sure the boot order in bios is set to boot usb devices first.
Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #3  
Old October 23rd, 2008, 02:22 AM
zopzop's Avatar
zopzop zopzop is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 594
Default Re: Linux pros please help me....

Quote:
Originally Posted by Mrkvonic
Hello,
It will work, except that you need to pay attention to where the bootloader is installed.

Hello Mrkvonic. What is the name of the bootloader and where should it be located? I followed the instructions thinking that it was all automated. If all I have to do is move a file or two around to make it work it would be a relief, cause I can't figure out what I'm doing wrong.

Quote:
And of course, you'll have to make sure the boot order in bios is set to boot usb devices first.
Mrk

Yeah it's set to boot from usb, then cd/dvd, then HDD.
__________________
Current Security Apps -
Desktop/Laptop : SRP + LUA + KAFU, Antivir (free - on demand)

LUA+SRP+KAFU = WIN!!!111
  #4  
Old October 23rd, 2008, 03:00 AM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,433
Default Re: Linux pros please help me....

Hello,

It's called GRUB and it should be installed to the mbr of the device. Normally, automatically, it's the device to where the distro is installed, but you can change it manually.

Furthermore, when you install via Windows scripts, I'm not really sure what gives. But I did install Debian this way and it worked fine from USB.

Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #5  
Old October 23rd, 2008, 03:11 AM
zopzop's Avatar
zopzop zopzop is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 594
Default Re: Linux pros please help me....

Thanks for the help Mrkvonic but it's still not working.

What would happen if I choose "Install" from the livecd and selected my usb pendrive?
__________________
Current Security Apps -
Desktop/Laptop : SRP + LUA + KAFU, Antivir (free - on demand)

LUA+SRP+KAFU = WIN!!!111
  #6  
Old October 23rd, 2008, 04:36 AM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,433
Default Re: Linux pros please help me....

Hello,

It would work, but then, at the last step, when you have to choose where to install the bootloader.

Now, let's say you have two devices, hard disk sda and usb device sdb.

If you choose to install to the partition table of the usb device (sdb), then it will have to be plugged on to run the usb distro. If the usb is not there, your hard disk will boot normally.

If you install to the local hard disk, grub will replace your normal boot screen, whatever it is. But then you'll have to have the usb device plugged in all the time, because stage2 of the boot process will be located on the root partition of the distro, in this case the usb device. Without it, you won't be able to boot.

I hope this is clear, but please take into account I'm trying to explain to your grub in 20 seconds.

Try this for details:
http://www.dedoimedo.com/computers/grub.html

Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #7  
Old October 23rd, 2008, 02:27 PM
zopzop's Avatar
zopzop zopzop is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 594
Default Re: Linux pros please help me....

Oh man I went ahead and booted the livecd and selected "Install". It asked me where I wanted to install gOS too and I selected my usb pendrive. It went through the process of installing the files and everything went well. I rebooted the computer and it successfully booted from my usb pendrive.

I messed around with it for a while and it seemed much faster than when I was running it from the livecd. Happy with the results, I decided to log off and restart the computer. I shutdown, removed my pendrive and the machine restarted. BUT.... I got an error message. Apparently if I don't have the usb pendrive with gOS inserted into my machine I can't boot into windows. If the usb pendrive is connected to my machine, I can choose what I want to boot into : Linux or Windows.

I made sure I did this :
Quote:
If you choose to install to the partition table of the usb device (sdb), then it will have to be plugged on to run the usb distro. If the usb is not there, your hard disk will boot normally.
I check my HDD and linux isn't installed on it (I'm using the same amount of space as before) so I'm a 100% sure I didn't install it on the HDD. I check my usb pendrive and sure enough it's there.

My question is this : How do I get it so my machine boots normally into Windows? Fixmbr? Will that work?
__________________
Current Security Apps -
Desktop/Laptop : SRP + LUA + KAFU, Antivir (free - on demand)

LUA+SRP+KAFU = WIN!!!111
  #8  
Old October 23rd, 2008, 03:29 PM
DasFox DasFox is offline
Very Frequent Poster
 
Join Date: May 2006
Posts: 1,825
Default Re: Linux pros please help me....

If you can't boot into windows, yes stick in the CD and run fixmbr...
  #9  
Old October 23rd, 2008, 03:35 PM
zopzop's Avatar
zopzop zopzop is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 594
Default Re: Linux pros please help me....

Hello Dasfox.

I can boot into Windows just fine IF the usb pendrive with my gOS linux is attached to my computer. A screen comes up asking me which OS I want to boot into : gOS Linux or Windows.

My problem is, IF the usb pendrive with gOS isn't attached to my compter, then I can't boot into Windows OR Linux.

I want to be able to boot into Windows normally when the usb pendrive with gOS linux isn't attached to my machine.

Man if I fix this I'll never mess with a linux distro again. Once bitten, twice shy.
__________________
Current Security Apps -
Desktop/Laptop : SRP + LUA + KAFU, Antivir (free - on demand)

LUA+SRP+KAFU = WIN!!!111
  #10  
Old October 23rd, 2008, 03:56 PM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,433
Default Re: Linux pros please help me....

Hello,
You installed GRUB stage 1 to your local hard disk... just the way I explained. But the GRUB menu (stage 2) is on the usb drive. See? That's all. Not a biggie. No need to overstress.
Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #11  
Old October 23rd, 2008, 04:01 PM
zopzop's Avatar
zopzop zopzop is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 594
Default Re: Linux pros please help me....

Hehe I'm in full panic mode

Should I run fixmbr from Windows Recovery Console to get rid of GRUB and allow my machine to boot into Windows normally? That's all I wanna do now is just boot up into Windows normally.
__________________
Current Security Apps -
Desktop/Laptop : SRP + LUA + KAFU, Antivir (free - on demand)

LUA+SRP+KAFU = WIN!!!111
  #12  
Old October 23rd, 2008, 05:08 PM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,433
Default Re: Linux pros please help me....

Yup, that would be it.
Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #13  
Old October 23rd, 2008, 05:27 PM
zopzop's Avatar
zopzop zopzop is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 594
Default Re: Linux pros please help me....

Thank you for you time and help Mrkvonic (and Dasfox).

But Mrkvonic, I do have one more question : What do you think of Dreamlinux?(seeing as how I couldn't get gOS to work right for me and I've given up on it, which is a shame because I think it's awesome). I see they have an option (either from livecd or HDD install) that automatically makes a liveusb version of dreamlinux for you.
__________________
Current Security Apps -
Desktop/Laptop : SRP + LUA + KAFU, Antivir (free - on demand)

LUA+SRP+KAFU = WIN!!!111
  #14  
Old October 23rd, 2008, 06:35 PM
lodore lodore is offline
Incredibly Massive Poster
 
Join Date: Jun 2006
Posts: 8,876
Default Re: Linux pros please help me....

btw pretty much any distro can be installed on usb pens
http://www.pendrivelinux.com/
__________________
useful tools:cure it SAS Hitman Pro mbam KL Eset windows defender offline Sophos
  #15  
Old October 24th, 2008, 03:44 AM
Longboard's Avatar
Longboard Longboard is offline
Massive Poster
 
Join Date: Oct 2004
Location: Sydney, Australia
Posts: 3,097
Default Re: Linux pros please help me....

Quote:
Hehe I'm in full panic mode
BTDT
It's just the learning curve and an occassional: Oh feck...what was that..( gooogle google google...wilders...mrK....)
Quote:
That's all I wanna do now is just boot up into Windows normally
LOL: help : dirty *nix bootloader stole my Windows
Still there..just rejig a bit

Its just figgering out where to put the "booty stuff" that's tech talk that is.

DreamLinux is a good effort imo: nice graphics flashy 'Mac' animated icons gui, good baseline and v3.5 just about to be released.
Their installer used to be a complete pita.
Enthusiastic user group and forums: that is worth a lot
__________________
Don't confuse me with someone who actually knows what they are talking about.
Linux Registered user 469135
Please, support Medecins Sans Frontieres
  #16  
Old October 24th, 2008, 04:53 AM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,433
Default Re: Linux pros please help me....

Hello,
Using Dreamlinux is an option - toward the livecd, but it's not much different from pendrivelinux scripts. But do try it - learning the whole thing is worth it, at the very least.
Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #17  
Old October 24th, 2008, 08:28 AM
Longboard's Avatar
Longboard Longboard is offline
Massive Poster
 
Join Date: Oct 2004
Location: Sydney, Australia
Posts: 3,097
Default Re: Linux pros please help me....

Just OOI:
Wolvix has USB installer in Control Panel: "Live CD mode" though
__________________
Don't confuse me with someone who actually knows what they are talking about.
Linux Registered user 469135
Please, support Medecins Sans Frontieres
  #18  
Old October 25th, 2008, 02:41 AM
zopzop's Avatar
zopzop zopzop is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 594
Default Re: Linux pros please help me....

@Longboard

Yeah Dreamlinux is gorgeous (not as pretty as gOS but it's damn close). I guess it will be the one I stick with (especially when showing it off to my "Windows only" friends).

I checked out Wolvix (since it has that "Install to USB" option). Let's just say it's not as "pretty" as gOS or Dreamlinux But thanks for the suggestion.

@Mrkvonic

I tried Dreamlinux and it's "Install to USB" option from the livecd (on my friend's pc though just in case ) and it worked flawlessly. I don't understand what I'm doing wrong while following the instructions from pendrivelinux.com. I hate not knowing.
__________________
Current Security Apps -
Desktop/Laptop : SRP + LUA + KAFU, Antivir (free - on demand)

LUA+SRP+KAFU = WIN!!!111
  #19  
Old October 25th, 2008, 03:15 AM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,433
Default Re: Linux pros please help me....

Hello,
Probably the script had a problem writing to the usb device. Or something along the line. The most important thing is that it worked for you. And now, I'll be testing Dreamlinux ...
Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
 

Wilders Security Forums > Software, Hardware and General Services > all things UNIX « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 07:49 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums