Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Any guidance / help on the below will be greatly appreciated.
Dell Laptop (BIOS allows boot from USB) - Vista 32 bit installed, 4 GB memory
External 500 GB HDD (iOmega) - Partitioned as follows:
NTFS: 50 GB
/boot: 1 GB
below two on one logical volume:
swap: 5 GB
/: rest ~ 440 GB
I installed Oracle Enterprise Linux on the external HDD. Did not install the Grub bootloader as I don't really want a startup boot option.
The way I was planning to make it work was: When USB HDD connected and laptop powered up, it'll boot to the Oracle Linux. When the USB drive is not connected and laptop powered up, it'll boot to Vista.
When I boot with the USB HDD connected, nothing happens. I get a blank screen with a blinking cursor... What am I missing here? The USB HDD light comes on though.
Is the above plan possible, or do I have to have a Boot loader installed?
If I have to have a boot loader installed, how can I just install the bootloader and not have to reinstall Linux on the HDD.
NOTE: The Linux drive is currently empty, so I'm open to any good suggestions to partitioning it. I want to keep a small amount of NTFS space on that drive to store some windows files and documents that I can carry around. The rest 450 GB is open for Linux. And I Plan to install Oracle Database and Apps on Linux (which takes about 350 GB of space).
Thank you all in advance. Look forward to a solution to this, have been struggling with this for a week now.
I'm a nubie with Linux, though I have past UNIX (not admin) experience.
Well, since you deliberately failed to create a MBR on your USB drive, you should not be surprised that it will just sit there and blink when you tell your BIOS to load the MBR from the USB drive.
The simplest thing for you to do is to boot from your installation media in rescue mode and run grub-install on your USB drive, or just reinstall you Linux system, but this time install GRUB in the MBR of the USB drive.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Yes you need a boot loader .
Why not install the boot loader in MBR of the external drive .
When you do that be sure that the external drive is the first Boot HD
But you have to realize that to change OS you have to change the boot priority in the BIOS
Use a live CD to install the boot loader without reinstalling linux or use SuperGrub to do the trick
PT: The reason I didn't install Grub the first time was becoz 1> it was optional on the Oracle Linux distribution. 2> It wanted to install grub on to my primary HDD (Windows Drive) and I didn't want it there. So my decision to go forward without grub...
Thanks to ronlau, I now understand that grub or some kind of boot loader is required.
Here is what I have achieved based on your good advise:
1> Started Linux Rescue from CD; It mounted my Linux system under /mnt/sysimage
2> did fdisk -l, my Linux HDD is on /dev/sdb1, 2 and 3. with sdb1 being the /boot partition.
3> did 'grub-install root-directory=/mnt/sysimage/boot/grub'
error grub not found... lol
4> cd to /mnt/sysimage
5> did 'grub-install root-directory=/mnt/sysimage/boot/grub' grub not found - lol
I know grub and grub-install are both there under ./sbin/
6> did grub
goes to bash like shell 'grub>'
7> did install /mnt/sysimage/boot/grub
Error 12: invalid device requested...
8> Same error for install /dev/sdb1
chroot /mnt/sysimage when the suggestion is made by linux rescue
Identify where your USB drive is located. (Do a mount and see where / is mounted. Should be /dev/sd followed by a letter and a number.)
Enter the command grub-install (hd0) if the letter is "a," (hd1) if "b," etc.
Reboot, and you should be running.
Some explanation of the above. (Omitted because my wife was calling me away to remove some "Deadly Nightshade" growing in the alley behind our house.)
You need to do the chroot before you do the grub-install unless you over-ride the grub-install defaults. If you're interested in how grub-install works, look at the output of the man grub-install command. (And look at man man for how to use the man command.)
Here's what a mount command for this laptop shows, with the line identifying the root (i.e., /) boot drive highlighted in red:
/dev/sda8 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sdb2 on /boot type ext3 (rw)
/dev/sdb1 on /Samsung type ext4 (rw)
/dev/sda5 on /Jaunty type ext3 (rw)
/dev/sda1 on /Vista type fuseblk (rw,allow_other,blksize=4096)
/dev/sda3 on /Vista/Recovery type fuseblk (rw,allow_other,blksize=4096)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
GRUB uses the old (hd...) notation to identify drives and partitions, and starts "counting" drives (and partitions) from zero, not 1. Thus (hd1) indicated the second hard drive. Since you're trying to install a MBR, you want to do it to the whole drive, not the partition where you've placed your boot information. Thus (hd1) rather than, for example, (hd1,5) for the sixth partition of the second drive.
Last edited by PTrenholme; 05-24-2010 at 05:51 PM.
Re the wireless network, right click on the Network Manager icon, and follow the prompts. (I haven't tried the Oracle distribution, but I believe that it's a re-branded version of an older Fedora release. If that's true, you are probably using the GNOME desktop, and the Network Manager icon is towards the right side of the screen-top status bar. If you're using the wired network, it will be showing that traffic by default.)
Note that most of the hand-holding network applications (NetworkManager, wicd, etc.) will only let you use a single network interface at a time. If you want to simultaneously use your wired and wireless interfaces, you'll need to learn how to set up and manage your own network configuration. Unless your need is compelling, I'd suggest letting that slide 'till you're further along the learning curve.
Oh, to see if you're wireless device was detected and the correct drivers installed, open a terminal window (in the "System" submenu of the main menu) and enter the command nm-tool. If you still have problems, it would be better to start a new thread.