General :: Using LILO Then Moving Hard Disks Around
Jun 15, 2010
A few years ago I built a small Slackware system and, for storage, I used using a 2Gb Compact Flash card plugged into the primary IDE interface. Initially, I made a bootable CD rom, booted the new system from that, copied the file system to the CF card and then ran LILO to install a boot sector on the CF 'disk' /dev/hda. That all worked well enough.
The only trouble is that the CF card, being an early one, is rather slow and so I've just bought an Innodisk 2Gb Disk-on-Module which ought to be much faster. I have plugged that into the secondary IDE interface, I've run cfdisk to make a partition, formatted it using mkreiserfs and copied all of the contents of the CF card on /dev/hda to the new device on /dev/hdc. So far, so good. But...Now I need to run LILO from the existing CF card in /dev/hda to put a boot sector on the new /dev/hdc. Then I want to move the new device from /dev/hdc and put it in /dev/hda once it's bootable.
I'm stuck to know how to configure LILO to install a new boot sector on /dev/hdc. I don't appear to be able to make LILO understand what I'm trying to do. If I change the line 'boot = /dev/hda' in lilo.conf to 'boot = /dev/hdc', LILO aborts with an error message.
View 5 Replies
ADVERTISEMENT
Jan 23, 2011
I am booting Slackware 13.0 on an X86 from a (master) ATA hard drive. I have added a second (slave) hard drive that contains an installation of Slackware 13.1. This works in so far as I can boot 13.0 from the master drive, then mount the slave drive and read and write files to it. So the hardware is basically working.What I want to do is configure lilo so I can choose to boot either 13.0 or 13.1. So far I have not gotten this to work.
Under 13.0 the slave disk appears as /dev/hdb. The root-partion for 13.1 on the slave is the first primary partion on the slave, and appears as /dev/hdb1 when viewed under 13.0. What stanza should I add to lilo.conf to make the slave 13.1 bootable?
View 5 Replies
View Related
Apr 15, 2010
I have one machine with two disks that I'd like to install Slackware on. I'd like to have the root folder and installed folders on hdb, and just have have hda as a disk I can use for storage (without any home directories, etc.). My problem is, I don't know how to make this boot, as I think LILO is installed on the primary drive, but the boot folder is located on hdb. I tried doing this before and was having problems booting, so I was just going to go through the whole process again, but don't really know the correct procedures.
View 2 Replies
View Related
Feb 27, 2010
I am installing slackware 13 on a machine that already has slackware 64- current. I'm doing this to try LFS which needs a 32 bit host (I know about CFLS, but I'm trying to keep it simple). My current installation is on sda with / being on sda1. My new 32 bit installation is on sdb with / being on sdb2.
I didn't install LILO as I figured it would be easy enough to just edit the current lilo.conf and run lilo after rebooting from the installation and then rebooting again into the new 32 bit install. What keeps happening is that the system boots seemingly fine, but after some wierdness I realized that it is booting a kernel from the 64 bit install on sda1. I'm assuming this is a simple screw up in my lilo.conf but I'm not sure exactly how to fix it.
lilo.conf:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0 quiet"
[Code]...
View 2 Replies
View Related
Mar 22, 2010
I'm using SUSE11.1, and connected to my system, a DELL 7500, a 1.5 TB Buffalo external HD. I partitioned it in 4 sectors.After connection, nmediatly the mounted disk would appear on the screen,(each partition with its respective name), and could use it as any other folder.To unmount the external Hard disk, I just ejected each partition, and had no problem. I used the same HD with my Mc, and things were all right, I used to backup automatically the Mc. However after having been using the system in this way for more than half a year, suddenly the hard disk began to rattle...and the SUSE system on the DELL, nor the Mc can mount the external hard disk any more. Thus, the partitions can not be mounted any more. When I cd to /media/ in the SUSE, the names of the partitions appear, but they seem to be empty..On the Mc, going to /Volumes/, before the problem appeared, the names of the partitions were there... but now, they are no more and the automatic back up either.So my question is, how to mount the disk, if it needs mounting... or how I can recover the partitions and the data therein... I am clueless, after two weeks trying to solve the problem..
View 1 Replies
View Related
Dec 28, 2010
In Fedora when we double click the Partitioned Local Hard Disks then we have to give the root password otherwise it will not open. Is there any way to read and execute the Partitioned Local Hard Disks without giving the Root Password.
View 5 Replies
View Related
Sep 10, 2010
I have installed xp at the main hdd. It has 3 partitions. Then I installed Kubuntu 10.04 on the slave hdd. When I boot, it doesn't recognize kubuntu. When I searched at My PC in XP, didn't recognized the slave hdd. I switched the hdd (slave to master and viceversa) and it didn't go well either.
View 8 Replies
View Related
Jun 8, 2010
I have two ide hard disks. One with windows and other with ubuntu 10.04. i want both windows and ubuntu in grub menu so what should i do ?
View 3 Replies
View Related
Sep 30, 2010
I have Linux installed on my laptop and now I have installed Linux on my external hard-disk too. I was planning to use the external harddisk as a backup medium for my data. I was planning to use data synchronization software and all that. Now I have realized when I boot from my external hard-disk I can't see the other hard-disk and vice-versa.
View 9 Replies
View Related
Dec 3, 2010
I'm just curious - why do all linux distros (all I've seen) run their periodic disk checks during boot? I mean, I understand that a disk should be checked now and then, but why does the system do it during boot, when I'm waiting for it to load, instead of checking them during shutdown, when (most probably) user doesn't need the computer anymore.
View 5 Replies
View Related
May 2, 2011
I have a PC with 4 harddisks and one ssd drive, presently PC boots from the 1st harddisk and other harddisks (sometimes 1, 2 or 3, depends upon the requirement) are used for the storage. Now i want to boot the PC from SSD and use the other harddisks for the storage only. My problem is that when system boots it takes 1st harddisk as sda and SSD as sdb, if i am using only one harddisk, and if i use 2 harddisk it takes sdc as SSD. So i am not able to give fix boot point in menu.lst file, if i wish to use root filesystem from SSD.I am using 2.6.33.7 kernel and grub bootloader. I have tried using initrd with udev but not able to include and start udev properly in initrd. I am trying to boot from UUID or LABEL, but no success. Am i missing something in kernel to get the UUID or LABEL.
View 6 Replies
View Related
Mar 9, 2011
I have two internal harddisk. Harddisk 1 has ubuntu, fedora installed and harddisk 2 has ubuntu installed. I normally connect either one, and use it. How can i always keep connect both harddisks, and at the start, select from which harddisk to boot? Or it's not possible?
View 7 Replies
View Related
Apr 1, 2011
I installed Ubuntu 10.10 on my laptop alongside Windows 7 on the second 320 GB hard drives and now I want to replace it with a 750 GB hard drive, but when I removed it the grub was gone and Windows (on the first hard drive) wouldn't load. This was a mistake, since the grub is installed on the same hard disk as Ubuntu. I want to use GPorted to delete the partitions on the hard drive, but when I boot with it and use the hard drive partition editor it won't let me delete or move one of the partitions. Does this partition contain the grub and if so how do I move it onto my other hard drive?
View 3 Replies
View Related
May 31, 2010
As my proficiency with Linux improves slowly, I've been trying to find the answers for myself, but in this situation I must admit I find myself rather stumped. I have a perfectly nicely working Fedora 12 install on an 80GB SATA drive, and when it hit an error and wouldn't boot last week (easily fixed with fsck from the initial command line) I panicked and ordered a new 250 GB drive. It got here and I might as well use it, I thought to myself, so I went about trying to figure out how to move my install without having to reset all of my settings, programs and so on. I didn't want to mess with dd because I'm not so so clear on resizing my partitions once the copy is done (if someone thinks this is a better idea I'm open to suggestions.) After some poking around I found this set of instructions which I attempted to follow to the letter, but hit some snags. I understand this thread I am referring to may be a bit outdated, which is why (I assume) I hit a bump here
Code:
# mount /dev/hdy1 /boot
mount returns an error demanding I specify the file system type. At a loss, I barreled on until
Code:
[Code]...
To summarize, I partitioned and mounted my new drive using fdfisk and the instructions provided above, then used rsync to copy over all of the files, so as far as I know the new drive is ready to go, just not yet bootable. Opening the Grub.conf file in Kwrite (as root) returns a blank page. What do I do now?
As a side note, you can see that I am not too squeamish about the terminal, so I would prefer to find a "command line only" solution to this relatively simple (?) procedure.
View 5 Replies
View Related
Dec 16, 2010
After I complete a big project I'm working on I'm going to be wiping and re-doing my desktop machine, probably in the next day or three. I'm going to be setting up a dual-boot; my first in about three years. I'll be using separate hard disks for this, and installing Slackware second on the bigger of the two drives. When I've done this in the past I've used Grub; Is there anything I need to know or pitfalls I need to avoid doing it with Lilo?
View 5 Replies
View Related
Jan 30, 2011
I'm having two hard disks in my pc. I can easily access both of them from my windows. But in case of ubuntu i can access only that hard disk on which ubuntu is installed. The other hard disk can not be accessed from ubuntu.
View 2 Replies
View Related
Nov 10, 2010
I'm going to buy a new system, and I have 2 SATA hard disks from my old system. One is installed with a Linux OS, the other with Windows Vista.For the Linux hard disk, will I be able to simply use these 2 hard disks on the new system and boot up, retaining all my data? If not, how do I transfer the data from my old hard disks to my new hard disks? My old system is faulty (no signal to monitor), so I can't just copy everything directly using, say, a portable hard disk.
View 3 Replies
View Related
May 27, 2011
I thought that alignment of 4096-byte sector Advanced Format hard drives was automatically taken care of via Gparted or Disk Utility until I bought a Hitachi HTS547575A9E384 (Travelstar 5K750) and saw that Disk Utility showed my partitions to be out of alignment. I then realized that my WD, which I had bought a few months ago, probably had its jumper set to emulate a 512-byte sector legacy drive (512e) and is probably not set to the AF setting.
Straight to the problem.
I've searched many sites, some of which suggest using fdisk (others the proprietary software of the hard drive's manufacturer). It is essential that one change the arguments prior to changing the partition table as there is no way back (yet, as far as I know) without having to move data to another drive and starting all over:
[Code]...
View 9 Replies
View Related
Aug 5, 2009
the hard disc has two partitions, one is 156gb ntfs, currently with windows xp prof sp2, and I am trying to install linux to the second partition, also currently ntfs.I am not a total newbie (i used fedora 10 last semester and ubuntu the semester before that). I have tried installing ubuntu9.04, fedora 10, fedora 11, and opensuse11.1 to this computer, and every time the installation probes for hard disks it comes up with zip, unless I have my external disks connected. Otherwise "No hard disks were found for the installation. Please check your hardware!"with OK button.
I also tried with gparted to see if I could find the hard disk, and still had no luck. I googled my problem and found others with similar problem but no satisfactory solution.does anybody have any idea what could be wrong and how to fix it??
View 6 Replies
View Related
Dec 30, 2009
I am connecting a complete set of four hard disks externally to my linux server.I have certain queries on that
1. How to make it detected. Will the cd which had come with that will install the required drivers?
2. How the cd drive will work out in linux?
3. How to configure all the 4 HDD into one LVM?
4 How to remove an already installed software from a linux system?
View 3 Replies
View Related
Feb 18, 2016
I'm not sure how to do this. I checked the hard drive preferences and looked through the forums... I don't want to manually mount my hard drives(s) every time I boot up just to access my music and wallpapers.
View 5 Replies
View Related
Dec 31, 2010
Is there a command line tool to shut off/spin down the hard disk either when not in use or when something is typed into the console? I'm trying to save power in a laptop I have..
View 2 Replies
View Related
Jul 18, 2011
i have got a very strange boot problem. But first: I have openSUSE 11.4 with kde installed. I have the amd64 dual core cpu and 2 hard disks. I was able to boot from both of those disks (on the second disk I have openSUSE 11.2 in case something goes wrong with the first disk). Then I decided to install openSUSE 11.4 from DVD to a usb key (just like I would to a hard disk). I succeeded. I did not involve any partition of the hard disks in this install. But now I can not boot anymore from any of my both hard disks although bios finds them it did before. After bios I get the following message: Loading stage 1.5 error 21.
Error 21 means: Selected disk does not exist. This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system But I am still able to boot from usb key. I have even modified the menu.lst from the usb key to boot openSUSE 11.4 from the first hard disk. This works fine. I have also tried to install grub again on my first hard disk with grub.install.unsupported and with yast2. But installation stops with an error message like "hard disk not found by bios".
View 3 Replies
View Related
Jul 29, 2010
I have a laptop HP Pavilion, on which I installed Ubuntu 10.04. I erased the whole disk and used the option manually define the partitions.
Here is my partition table given by gparted:
Partition File system Mount point
unallocated 1 MB
/dev/sda1 vfat /windows
/dev/sda2 ext4 /
/dev/sda3 extended extended
/dev/sda5 linux-swap
/dev/sda4 ext4 /home
I installed Ubuntu and everything went fine. But now I want to install WinXP from an original Microsoft CD-rom and I get the follow error:
Unable to install windows, no hard disks found, contact your dealer (or something like that, it is translated from Dutch).
I tried everything, formatting my hard disk with gparted NTFS, formatting mkfs.vfat, with no luck.
View 4 Replies
View Related
Nov 29, 2010
First and foremost, I really appreciate this newer release of Ubuntu 10.10. My boss wanted to use SLAX, but I had great experience with 8.10 and I have installed 10.10 on laptops and netbooks. on with the challenge for the day: I have configured a user's profile on 10.10 to startup Firefox in kiosk to go to our secure portal. The problem is I don't particularly care to REDO configure a user's profile session over and over.
So, if any of you whiz kids out there can come up with a better way to copy a user's profile...particularly the files that are used for Mozilla Firefox so that I can just copy and paste the files onto another hard drive with a fresh 10.10 that would be great.
The ONLY issue I have working with Linux is that I can not rapidly deploy my settings I have set for 'user' as I can with Windows. I am sure if there was a way to do this, deployment of Ubuntu 10.10 would go MUCH faster. As it stands, if I am able to pull this off...there will be a potential of removing Windows desktops. Which is fine for me because I can manage desktops a little easier on this platform than Windows.
This is what I have installed in Ubuntu:
IcedTea (for Java plugin for Firefox)
Profile Editor
R-Kiosk
All those work great with Firefox, but getting those installed on a new system is a bit daunting.especially when some users suggest doing cloning when in reality...I plan to do the install via LiveCD and THEN hopefully create the user on the fly in Terminal and copy the user files needed off a flash drive into the home/user folder
View 1 Replies
View Related
Jan 15, 2011
I would like to install ubuntu on windows xp which has 6 partitioned hard disks. When I try to install ubuntu on hard disk F, it says i need to select a root. However, I could not succeed in selecting a `root`. I also tried wubi, but it was terminated with an abrupt error just before it was finished. Furthermore, what does boot directory mean?
View 5 Replies
View Related
Apr 8, 2011
I would like to mirror some of my partitions (i.e. /home) with a software RAID. My primary harddisk is a Western Digital WD20EARS with Advanced Factor (4kB Sectors). The secondary disk is a Samsung HD103UJ with old sector-style (512B). Is it possible to set up a RAID 1 containing a partition with advanced factor an a partition with old sector-style or do both partitions have do be in the same sctor-style?
View 1 Replies
View Related
Apr 25, 2009
Any command to get number of hard disks in linux. I have used fdisk -l and df -h. but is there any other sure shot method of knowing this.
View 3 Replies
View Related
Jul 15, 2011
Coming from Fedora, I had a Web/Mail/SQL server with 2 hdd's. One (sda1) was the one with Fedora on, and all backups were on sdb1.
Now, I started having issues with SDA1, so I started copying files to SDB1. 2 weeks later I noticed similar issues, and started copying new back files to SDB1. But once I started doing this I lost connection with the server.
Turns out that (in rescue mode) that I couldn't access SDA anymore, it couldn't even read stored data on it, etc. It didn't show up in fdisk anymore either.
So after a lot of trying I asked to replace the disk and started installing Ubuntu 10.04 LTS on it. After having installed everything, I tried to restore one of the MySQL backups that was on the SDB disk, but halfway I started getting errors. I stopped the restore and did some other stuff that I wanted to take care of first (apache2 config etc.).
I then tried to reboot to be sure that that was working as well, and then the problems started. I couldn't access the server anymore, and in rescue mode (which is a live cd my host provides, it's a dedicated server btw.) I didn't see SDB anymore.
I told them this and now after they told me that they managed to get it back, I went into the rescue mode and tried to recover bad blocks with the e2fsck command.
Code:
Trying to restore this bad superblock doesn't work. I've tried for almost all of them:
Code:
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdb1
Could this be a zero-length partition?
What are the chances of TWO hard disks failing? Surely there must be something else wrong? Did a bad driver (which would be weird, since I didn't do any updates like that) screw both of my hard disks up in Fedora?
Also, I must note that when I tried to copy the backups from SDB1 to SDA1 (the new one). I got a read only (??) error, and some other I/O errors.
Just for information, I'll show fstab and mtab as well: /etc/fstab
Code:
Code:
I haven't added the sdb here yet, but it was here in Fedora so that can't be the problem.
And this is /var/log/messages when the problems emerged
Code:
Then on the ubuntu forum they proposed me to do this:
I ran smartctl and it gave me this:
Code:
Code:
View 1 Replies
View Related
Jan 13, 2010
I'm looking to stock my SuperMicro P8SCi with two 1-2 TB SATA hard discs, for running backups and web hosting. There are reviews of certain disks stating that the low-power disks will get kicked out of the Raid due to their slow response time, and it also appears that there have been quality problems with these newer disks, as if the race to size has lowered their reliability.
Can someone recommend a good brand and specific disks that you've had experience with? I'd rather not need to replace these after putting them in, but I also don't want to pay significantly more for an illusion of quality.
View 2 Replies
View Related