Ubuntu Servers :: Getting Grub On Multiple Drives?
Jun 6, 2010
(tangent to my other thread "Karmic -> Lucid not booting"). I have four hard drives on a Lucid box, and (as it happens) the fourth drive is the boot and root. Could I also install grub on the other three (ext4) hard drives, keeping the same root? Will this disturb the data there? How would the machine decide which copy to use, anyway?
I have 3 hard drives installed to my system, 1TB, 2TB and 500GB drives with the following configuration:
ledi@ledi-ubuntu:~$ sudo parted /dev/sda print Model: ATA SAMSUNG HD103UJ (scsi) Disk /dev/sda: 1000GB Sector size (logical/physical): 512B/512B Partition Table: msdos
[Code]...
I can boot to the Ubuntu installation in the 2TB drive. My problem reversed when I reinstalled grub to one of the Ubuntu installations in the 1TB drive. I can boot to any of the OS's in the 1TB drive, but not to the Ubuntu in the 2TB drive. The error message is the same as above. I have no idea what am I doing wrong and I would be really grateful for any assistance.
I have a second hard drive that I plan on placing in a computer I wish to use this computer as a server so my question is how could I use these 2 hard drives as one lets say one is 80Gb and the other is 40GB how could they be shown as 120GB instead of being seperate The installation of server planned on being used is 10.04.
So, at the moment I have a 7TB LVM with 1 group and one logical volume. In all honesty I don't back up this information. It is filled with data that I can "afford" to lose, but... would rather not. How do LVMs fail? If I lose a 1.5TB drive that is part of the LVM does that mean at most I could lose 1.5TB of data? Or can files span more than one drive? if so, would it just be one file what would span two drives? or could there be many files that span multiple drives drives? Essentially. I'm just curious, in a general, in a high level sense about LVM safety. What are the risks that are involved?
Edit: what happens if I boot up the computer with a drive missing from the lvm? Is there a first primary drive?
I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.
Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.
Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.
My computer has 2 40GB hard drives (yes, it's really old). One of these hard drives has Ubuntu installed on it, and I would like to use the second hard drive as a data storage device that is usable by anyone who just wants a random place to drop random stuff. How do I do this?
I am running Karmic on a stripped laptop, and running it off a usb thumbdrive.Its purpose is mainly as a slide show/video show inset in a tableI did not really want to go out and buy a HDD, since it does not need to store that much. Then I went to aldi and they had 8gb flash drives for $5, so I got 6. The ultimate question comes down to the best way to make use of them. I ordered a 7 slot USB hum off ebay for cheap, and I was going to go from there. would it be easier/better to just plug them in and make links to them from the normal folders and just operate directly from there, or is there a better option. I guess a usb raid array could be neat
I've got a 10.10 installation, which I am using as a media/download server. Currently everything is stored on a 1TB USB drive.With the costs of disks falling, and the hassle of trying to back 1TB up to DVD (no, it's not going to happen) I was wondering if there's some linux/Ubuntu utility, which can use multiple disks to provide failover/resilience ... Could I just buy another 1TB drive, and have it "shadowing" the main, so that if one goes, I buy another, and then restore from the copy ?
I am running Ubuntu on a box with a couple of hard drives, and on a network where we have another Ubuntu machine and a couple of windows boxes. I use filezilla to upload files to other web servers but filezilla will only access files on my main hard drive, not on the second drive and not on the rest of the network.
I am just trying F-Spot because a novice ubuntu friend needed help. ubuntu 10.04.2. As a test, on my PC, I have pasted some photos into a particular test folder in my current Ubuntu (in my user folders). I have also nominated a folder as a destination for imported photos. After starting F-Spot, I try to use the test (source) folder in F-Spot with the intention of importing the test photos.
I am using a PC with three hard drives. One has various distros installed, mostly ubuntu versions, all in their own partitions. The other two hard drives are ones I use for data, including backups. They are both continuously mounted. However, the import 'file finder' facility only lists the two data drives, it does not list the current home user folders, which is where my test (source) folder is(!!!)
I am thinking of building a new computer. I have been using Ubuntu for a couple years now, but I am not good with the terminal usage. Nevertheless, if I was to go back to Windows I be lost. My Computer would be:
Motherboard = Micro ATX Hard Drive 1 80GB = Operating System Hard Drive 2 250GB = Home (my documents) Hard Drive 3 500GB = Media (videos, music & pictures)
I would like the file to end up on the desired hard drive automatically. And my main menu to display accordingly. In other words, when I click over music, under places in my computer menu, for the computer to know which hard drive to go to. The reason for wanting this setup is, to provide security for the OP, separate my private documents from my music and videos. Now I am using external hard drives. But, it just do not look right, besides the menu is funky.
Would I have to use a RAID set-up or just the partition tool. Does anyone knows of a post or tutorial on how to accomplish this? (plain English would be better).
I am doing a new build with an SSD / HDD combo, and I am wondering, is there a way I can install Ubuntu spread across both drives? I know I can do this in Fedora, but I haven't seen much of a feature like this in Ubuntu.
I just created a 2nd user on my computer. I've got the hard drive that ubuntu runs on, and then a 2tb drive for media. If the 2tb is mounted on my desktop, it won't show up on his desktop even if I'm logged out. It won't show up on his unless I unmount on mine.
If I'm logged out I'm obviously not using it. So why doesn't it show up? He has all privileges. Is there a way to make this work without having to unmount?
I'm running karmic btw. If you need computer info let me know what to type into the terminal and whatnot and I'll paste it all here!
I have been trying to install Ubuntu on my new computer as a duel boot with Windows 7. My computer has four 1TB hard drives, One with Windows 7 installed, two that are used for storing media (both are independent, not in a RAID or anything like that) and one empty hard drive. This hard drive contains a 901.51 GB NTFS partition, and 30.00 GB of Unallocated space, I wish to install Ubuntu in this unallocated space; giving it 20 GB (the 10 GB left over might be used for installing XBMC Live). But when I boot Ubuntu's Live CD the installer doesn't show me the unallocated space, and doesn't really show me any of the extra Hard drives.
i am new in Linux. i have two drives one IDE and other SATA in my computer.i want to keep windows XP , WIndows 2003 server on one drive and two flavours of linux on the other drive, let say oopen suse and redhat.please help me how i install these sofwares to make multi boot the machine.
I installed three O.S on one drive. I disconnected this drive and installed two more OS's on the the next drive. On the first drive all three were bootable and on the second only the first O.S. would boot. The second drive booted both O.S at first and then stopped. I used a rescue disk on the second drive with two on it and it made no difference. I did the same to the first drive and I sort of joined the to boot loaders together in a non appreciative way.
Is is practical to do what I tried doing and should I just multiboot off one drive? I would like about eight O.S's on the same computer.
I'm looking at setting up a couple automated systems: Here are a few examples:
* Internal accounting system to download and process emails * Public web server to visit
I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?
To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.
I have been trying to move away from Windows2000 on Ubuntu for months. I have a few applications that I run on Windows that I have been unable to find usuable equivalents on Ubuntu eg Outlook/Mobile sync application required for my job and a DVB TV card application for home. So it looks like I am stuck ruuning W2K and Linux for at least a while and indeed I have been using GRUB2 to select between W2K and Ubuntu.
I need some basic advice about setting up GRUB2. My philosphy when it comes to PC data is you can never have enough backups and I avoid any single point of failure. So I have always used two hard drives which I keep in sync almost daily with FreeFileSync. I also swap my most critical encrypted data between a laptop and desktop. Then I also alternate external USB drives stored away from my home.
My current partions are
When I installed on the Ubuntu 500GB I let it & GRUB2 take the default options so it boots from Hd1 and I assume certain executables are stored at the begining of the Ubuntu partition as well as configuration files in its file system.
Now I'm replacing the 500GB with a 1.5TB and the old 500Gb will become my backup drive. I want to keep the backup drive bootable in its onw right. If either hard drive fails I want a bootable system and acccess to my data.
So my plan is to use the following partitions.
I can install W2K on the 1.5Tb from scratch or use Acronis to restore an image file. Then I can install Ubuntu from scratch.
OK now for my questions.
1) Can I get GRUB2 to put its executables and configuration files on a small partition of its own? I see no reason why they should be dependant on a specific Ubuntu partition. I have read posts mentioning this but not sure if this has to be a bootable Linux or just a file system with the config files.
2) Can I run update-grub on any Linux and store or copy the config files to the partition in 1?
3) I will use BIOS to determine which hard drive is first to boot. When I run update-grub (or when it runs during the new Ubuntu install on Hd1) I dont want GRUB2 to do anything with Hd2, not even know Hd2 exists, it that an option?
The goal is to have a single folder that has symlinks to all the files in each of the drives. Pretty much a poor man's JBOD. Previously, I had problems with conditions like 2 drives having the same sub folder contents, but I ended up solving that with the current script I'm using now.What I'm looking for now is speed. I'm very new to Perl and the script takes about 12 minutes to complete with the current drives.
Basically, the script makes a list of all directories and files in each drive. First, it makes the directories. I didn't use any validation because if a directory already exists, it simply won't make one. However, with the files, I used a hash to only keep the unique files. Then I use the key/value pairs with ln to create every link to the files only, not directories.
Code:
#!/usr/bin/perl use warnings; my @drives_to_sync = qw ( /mnt/sda/ /mnt/sdb/ /mnt/sdc/ /mnt/sdd/);
My questions begin with Virtual Box. I have Windows XP installed via Virtual box. Ordinarily, I hate everything about windows, but unfortunately some things related to my job I am still in need of having some access to some form of Windows. I am wanting it to recognize all of my multiple hard drives that are installed on this system, 4 of them to be exact, so that I can utilize files from all of them.
How to mount multiple external HDD's. I'd like to link or mount the music, torrents, and general files from several external hard drives and apply permissions (in some cases I only want the mount or link to be read only).
My setup: - Seagate Dockstar running Debian squeeze (it's headless so I don't have a gui running) - Two external HDD's with one partition on each (250GB and 400GB)
What I'd like to accomplish: 1. Mount the external HDD's to /media/HDDs as read/write (this is already working using udev and autofs and it's available in samba) 2. I'd like the MUSIC directories on both external HDD's to show up under the same mount point. In other words I want the MUSIC folders (from both HDD's) to appear as one large library of music. And I only want this to be readonly. It will be used as the library for mpd and/or squeezebox. 3. Mount a directory used to download torrents to. I'll probably pick on HDD as the target for torrent dowloads. But let me know if you have any other ideas regarding this.
Since I have the first one done, how would I accomplish 2 & 3?
I have what will soon become a file server here running Mandriva 2009.1 and I need to set it up for use. There are 6 physical drives, sda-sdf. According to my fstab (pasted below), the OS is installed on sdb.. and for some reason I have a swap partition on sda and sdb. I had a horrible time getting a working installation, and that's probably leftover from a previous attempt.
Question 1: Can I simply edit my fstab to remove the swap on sda, effectively confining all system resources to sdb? The end result I want is all storage space over all drives accessible from a single mount point which can be accessed over the network.
Question 2: Once I sort out the weird fstab, what's the best way to go about setting this up? I imagine I need to format & partition the other drives (all but sdb).. but as far as organizing the free space, what's the best way? Is it possible to have multiple physical drives accessible from a single mount point? Or will the users have to use each drive separately? I was thinking I could create a directory on sdb (in /home?) to use as a root for the network share, and then automount the other 5 physical drives there. Does that make sense?
Right so my situation is a little obscure and from all the posts I've read through I can't find one that suits me well enough.My PC's hard drive recently went on the fritz so I backed up all my data, got a brand new Terrabyte hard drive and then put all my stuff on there. I also plugged in the fault drive as a secondary and ahev cleared most of the stuff off it. It's separated into two partitions; E: and F: but together make about 600 gigs. I then have two external Terrabyte hard drives, it's a long story but their connected via USB.
Now I really like the idea fo getting to grips with Linux. I don't want to use a LIVE CD, I've done that already and I want to see how I get along using it as a proper OS. I also really need to keep the Windows Vista for several reasons, most importantly for iTunes which I use to keep my iPhone and iPad up to date and I've heard iTunes and linux don't get along too well, even with programs like WINE. So obviously I'm looking to dual boot and keep all my data but what would be the best way to go about it? Stick it on my primary drive? Or on my slightly faulty drive? Or on one of my two externals? On the bright side, because I'm on a fairly new hard drive, my Vista runs really smoothly, and so I shouldn't encounter too many bugs that windows is renowned for a long the way...
I'd also like to be able to access all my data from both OSs so I don't have to keep jumping from one OS to another. Is that possible? or simple to accomplish?I have a pretty good Nvidia graphics card too, so I'd appreciate it if someone could explain how I get XGl working on Fedora once it's all set up.
I have two non-system drives with archive files. Each drive is formatted with one primary partition only, occupying all the drive space. In each drive there will be a number of directories with files in them, like this:
I've looked high and low but I haven't been able to find any example of what I'm currently experiencing with my hard disks.First off, I'm running CentOS as a Samba file server, on a Soltek SL-K8TPro-939 and AMD 64 3200+ (all the rage of five years ago). Here's my disk setup
Ok, so I get a notification in my system mail yesterday: The following warning/error was logged by the smartd daemon:
Device: /dev/sda, unable to open device
For details see host's SYSLOG (default: /var/log/messages).You can also use the smartctl utility for further investigation.No additional email messages about this problem will be sent.
I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.
These are the instructions I received: Login to your windows server and load the DHCP configuration screen Create a DHCP reservation for the MAC address you obtained Add the configuration options below to enable the machine to boot from the LTSP server 017 Root Path: /opt/ltsp/i386 066 Boot Server Host Name: <ip address> 067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'
From: [url]
I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.
1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?
2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?
I currently have a group of 3 servers connected to a local network. One is a web server, one is a mysql server, the other used for a specific function on my site (calculation of soccer matches!).
Anyway, I have been working on the site a lot lately but it is tedious connecting my USB hard drive to each computer and copying the files. This means I am not backing up as often as I should...
I have a laptop connected to this same network that I use for development so I can SSH into to the computers, is there any software for ubuntu that can take backups of files that I choose on multiple computers? I know I could rsync but is there something with more or an GUI?
Then I can just every 2 days move the most recent backup from my laptop to the USB drive. Then I will have the backup stored in 2 places if things go kaboom somewhere.
I'm running Ubuntu Server 10.04 and have a secure (SSL/TLS) FTP server on it. However, I'd like to use this FTP server to update programs I made using Microsoft Visual Studio. Unfortunately, in Microsoft's infinite wisdom, secure FTP servers cannot be used. Rather than use an insecure FTP server, I want to set up my secure FTP server to be able to access whatever I need to on the machine, and then add an insecure FTP server that only has access to the directory where I put my update files. I am currently using vsftpd as my FTP server. Is there any way that I can set up two FTP servers on this single machine?
I'm having some issues getting Ubuntu to boot. I've installed it a bunch of times before, but dual booting and not. Right now though, I'm having issues installing it along with Windows 7, on separate hard drives. Here's my current configuration:
60GB SSD with windows 7 500GB HDD, NTFS, windows 7 data
I bought a 1TB HDD that I want Ubuntu on, but I only want Ubuntu to use 100 GB. I want the other 900GB for Windows 7. So, I put in the Ubuntu CD, chose to edit the partitions manually in the 1TB HDD, created a 100GB ext4 primary partition for linux and a 2GB swap partition, leaving the other 900GB unallocated. Ubuntu seemed to install fine, said it succeeded, and asked me to reboot. When I did, however, my computer boots straight into Windows (no GRUB screen at all). I've tried changing the boot priority to all three of my installed drives from BIOS and tried putting GRUB on both my SSD and 1TB HDD.