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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-16-2012, 10:14 AM
|
#1
|
Member
Registered: Jul 2003
Distribution: Linux Mint
Posts: 33
Rep:
|
Scientific Linux install questions
Hello folks
I have a few questions. I plan on dual-booting windows 7 and scientific linux 6.2 x64. I have windows 7 installed and I have now made three attempts to install SL, but all installs have failed. The installs go to completion, but I get only a Grub> prompt. Two of the three attempts have been with the installer's recommended partitioning scheme, one has been a custom scheme. Twice, I've gotten only a grub prompt, written to the MBR and I've had to use Windows recovery tools to get Windows to boot again.
Question 1: I've read that SL/Grub2 requires a /boot partition. Is this true? If so, what is the recommended size and do I need to set that partition active? And.. is this where I need to install grub?
Question 2: Drive space is not an issue for me, and I have 4Gb of memory. If I choose to manually partition, what should my partitions look like? My early experiences with Linux were that I'd have to have a /, /boot and a /swap. Is this still the case?
The install is being done on an nvidia RAID 0 array if that matters, so the mount points look like /dev/mapper/nvidia_<blah>. doing an "ls" at the Grub> prompt shows (hd0,0), (hd0,1), etc..
Thanks in advance for your advice.
Tony
|
|
|
07-16-2012, 11:44 AM
|
#2
|
Member
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372
Rep: 
|
Quote:
Originally Posted by ajkrishock
Hello folks
I have a few questions. I plan on dual-booting windows 7 and scientific linux 6.2 x64. I have windows 7 installed and I have now made three attempts to install SL, but all installs have failed. The installs go to completion, but I get only a Grub> prompt. Two of the three attempts have been with the installer's recommended partitioning scheme, one has been a custom scheme. Twice, I've gotten only a grub prompt, written to the MBR and I've had to use Windows recovery tools to get Windows to boot again.
|
This means there was some problem installing the boot loader. One way to deal with this would be to boot from the SL DVD and start anaconda (installer) again. Choose to 'Upgrade the existing installation'. As you proceed, there will be an option to install/re-install bootloader. This will simply install the bootloader again. May be this will fix your issue ...
Quote:
Originally Posted by ajkrishock
Question 1: I've read that SL/Grub2 requires a /boot partition. Is this true? If so, what is the recommended size and do I need to set that partition active? And.. is this where I need to install grub?
|
To my knowledge, SL does NOT use grub2. And NO, neither grub2 nor SL *requires* a separate /boot partition. It is your choice. If you do want to setup a /boot partition, 50 MB would be plenty.
Quote:
Originally Posted by ajkrishock
Question 2: Drive space is not an issue for me, and I have 4Gb of memory. If I choose to manually partition, what should my partitions look like? My early experiences with Linux were that I'd have to have a /, /boot and a /swap. Is this still the case?
|
I have had installs with just one / partition - without swap even. So, as I mentioned earlier, partitioning scheme is based on your needs. Having said that, if you are encrypting /, then /boot which is unencrypted is essential.
Hope this helps. Cheers.
|
|
|
07-16-2012, 12:09 PM
|
#3
|
Member
Registered: Jun 2006
Posts: 32
Rep:
|
I'd look to uncomplicate the situation in not dual-booting to Windoze. Why don't you run your SL6 on a virtual product, like Virtual Box or VMWare? Virtual Box is quite easy to deal with, and it will allow you to run the two simultaneously. Just a thought...
|
|
|
07-16-2012, 12:52 PM
|
#4
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766
Rep: 
|
You have raid.
So you will need a separate /boot partition of ~ 500MB (to be on the safe side).
|
|
|
07-16-2012, 01:12 PM
|
#5
|
Member
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE Tumbleweed, Kernel 4.14*
Posts: 137
Rep:
|
We would actually need a bit more info to really be of help here.
hd0,0 will almost certainly be your Windows partition. The designation "hd0,0" is actually the device mapper designation. The standard name would likely be "hda1" or "sda1", for your Windows partition, depending on how your drives are seen by the system.
As far as the other partitions go, only one is actually required, which would be "/". The installer will probably nag if you do not set up a "swap" partition, so it might be advisable to set one up. Another thing to consider is setting up a separate "home" partition. It is not required, but can come in handy if you decide to upgrade or change flavors of Linux. A separate "/boot" partition is only necessary if you are encrypting your Linux system because the boot partition has to be non-encrypted.
I would set it up as follows. Please keep in mind that these are suggestions. The first partition is already Windows. You can set it up to be mounted, but make sure that you don't format it. I would create partition number 2 as "/". Mine is set at 20GB, but you could get by with much less. I would create partition 3 as "/home" and set the size to be as generous as possible. Finally, I would set partition 4 as "swap" and probably keep it at or under 2GB in size. I have 12GB of RAM on my system and still run out of memory on rare occasions, so a swap is probably a good idea.
If SL does indeed use Grub2, I will not be much help. I still prefer Legacy Grub. For Grub2 support, you might check the Ubuntu forums for good info.
If your grub is Legacy Grub, then you might post the contents of /boot/grub/menu.lst as that can tell us more about your setup.
Are you installing grub in the MBR of your boot drive or in the "/" directory? If you are getting a grub prompt, then grub is there. There is just a problem with the path to the kernel(vmlinux) and initrd. Grub can't find the Linux files to boot from.
Here is a copy of my 'menu.lst' file. Maybe you can look at it and adapt the paths to fit what you actually have. If you are running Grub2, I think that
menu.lst' will be of very little help.
default 0
timeout 30
gfxmenu (hd0,1)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 12.1 - 3.4.4-32
root (hd0,1)
kernel /boot/vmlinuz-3.4.4-32-default root=/dev/disk/by-id/ata-WDC_WD3000GLFS-01F8U0_WD-WXL508009274-part2 splash=verbose quiet showopts elevator=cfq vga=0x346
initrd /boot/initrd-3.4.4-32-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 12.1 - 3.4.4-32
root (hd0,1)
kernel /boot/vmlinuz-3.4.4-32-default root=/dev/disk/by-id/ata-WDC_WD3000GLFS-01F8U0_WD-WXL508009274-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345
initrd /boot/initrd-3.4.4-32-default
Last edited by purevw; 07-16-2012 at 01:13 PM.
Reason: typo
|
|
|
07-16-2012, 01:42 PM
|
#6
|
Member
Registered: Jul 2003
Distribution: Linux Mint
Posts: 33
Original Poster
Rep:
|
Thanks for your replies. Since I have a good install of SL, I will attempt a reinstall of grub via anaconda as suggested above. Will post results..
|
|
|
07-16-2012, 04:45 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,680
|
with win7 PREINSTALLED the OEM's put a "hiddeen" to windows "rescue" partition on the front of the drive
RHEL/CentOS/SL/Fedora/.....
tend to not like this
the installer WANTS to put grub on that partition
you might be better off making a /boot partition on THE FIRST LINUX partition
1(sda1) win rescue
2(sda2) windows C://
3( sda3) -- EXTENDED PARTITION
4( sda4) /boot ( first linux partition) and make bootable
5(sda5) /
6(sda6) SWAP ( the installed WILL put it here !!)
7( sda7 /home
then set grub to chainload to win7( the win7 bootloader IS hiding on the MBR in the rescue partition )
personally i would just uninstall windows
blank the disk and reinstall win7 without that rescue partition
if win7 gets infected that rescue partition used to " fix" it is also likely to be infected .
|
|
|
07-16-2012, 07:05 PM
|
#8
|
Member
Registered: Jul 2003
Distribution: Linux Mint
Posts: 33
Original Poster
Rep:
|
Yeah. Agree on those secret little OEM partitions. I've worked on a lot of machines that have those. I build all my own PC's and have been doing so for many years. That's not the problem I have at the moment, though.
|
|
|
07-17-2012, 06:15 AM
|
#9
|
LQ Newbie
Registered: Jun 2011
Location: In the shadow of Mt. St. Helens
Distribution: Puppy, Knoppix
Posts: 9
Rep: 
|
If that doesn't work, you could just run Scientific Linux Live System. They have Live CD and DVD - Live USB - or setup a server for Diskless Client.
|
|
|
All times are GMT -5. The time now is 10:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|