General :: Hard Drive - Does Check Disks During Boot Instead Of Shutdown?
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.
I have no hard drives in my computer, so I have been trying to boot Ubuntu 11.04 from an 8GB usb flash drive. Is this possible? So far the best result i have gotten is it will sit on the loading screen for a while then dump. I was only able to get the last little bit which reads mount. mounting /dev on /root/dev failed: no such file or directory. mounting /sys on /root/sys filed: no such file or directory. mounting /proc on /root/proc failed: no such file or dirctory. target file system doesn't have requested /sbin/init
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.
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 220.127.116.11 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.
My SATA drive started clicking and I was unable to access the data. It was not clicking loudly though, like a drive that has already gone bad. After tightening the connections to the hard drive, it stopped clicking and I was able to access the data again. I have started to move files off of the drive, but I think this drive might still be in good health. I didn't find any data corruption and I haven't had any trouble accessing any files. I have never had an SATA drive fail before so I'm thinking that it could have just been the loose connections that was causing the problem. What tests can I run on this drive to find out how healthy it is?
This is the hard drive in question: HITACHI Deskstar T7K250 HDT722525DLA380 (0A31636) 250GB 7200 RPM 8MB Cache SATA 3.0Gb/s 3.5" Hard Drive -Bare Drive
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?
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".
I have a fully operational PXE boot server, the client boots up and begins the setup process however, fails to detect the hard disk, I have tried with ubuntu 8.10, 9.10 and 10.10 and none of them will see my hard disk, I boot to the cd and it sees the hard disks with no problem, so apparently the pxe boot server isnt serving up the neccesary drivers or something to detect my hard disks properly. They are just IDE drives and like I said, regular cd install detects my drives just fine.So if anyone here has any information that may help shed some light on this issue I would be so grateful
upon installing 4 2TB drives, my server will not boot. I have tried booting from a slackware 11 dvd and passing these boot paramaters:
huge26.s root=/dev/sda1 noinitrd ro in addition to just trying to boot from the DVD using the huge26.s kernel. the kernel starts to load and says "Ready." Then sits there with a flashing cursor... The problem only exists with the new 2TB drives installed. I never had any problems when I had 750GB drives installed. Also, everything works fine if I boot from the DVD using "huge26.s root=/dev/sda1 noinitrd ro" as boot paramaters, and insert the 4 2TB drives (hot add) after the system starts booting.
I have also tried booting from a backtrack 3 cd but experience the same problem (boot halt after loading initrd)
I have a Toshiba laptop with BIOS that will not recognize USB as a boot medium (I have purchased two USB 'thumb' drives with Distro's that do boot but the BIOS see them as HDD devices!)I did manage to install and boot a distro from the USB HD but ended up with the USB drive having to be connected' to select any of the OS partions, to boot anything.I do realize that somehow, when installing the new distro on the USB drive, I changed the GRUB configuration to be on the USB drive which obviously I did not want, so can
I have two computer systems at home (a laptop and a pc), one with ubuntu 9.10 and the other being windows 7. Since i recently discovered how awesome counter-strike:source runs on the latest edition of Wine, I no longer need Windows 7 on my system.
The question is, I have partitioned my laptop at least 5 times the last 6 months, and I want to find out if my hard drive could cope with repartitioning once more. Could you guys please give me the name of a tool for Windows to check the state of my hard drive?
I have a laptop, running Windows Media Centre unfortunately, and I think the hard drive is hosed. I was wondering is there away of checking the hard drive for errors using the ubuntu livecd? I would put ubuntu straight onto it only there are various items within Windows that the owner needs to get.
Something caused my Fedora 11 system to reboot this evening, only it keeps trying to boot from a CD/DVD. I get to a prompt that says "Boot from CD/DVD" and then it appears just to wait. I can insert my Fedora 11 installation disk and boot from it in rescue mode, and then I can see my entire file system, so I don't think the hard drive has failed. The system just doesn't seem to want to boot from the HD any more. I can get to a command line using the Fedora rescue mode, but I don't know what to do once I'm there.
one additional note. Around a month and a half ago I deleted some files by mistake and wanted to try to recover them. I tried a bunch of approaches that I came across (none worked), and I do remember that one of them had instructions to unmount a portion of the filesystem to protect it from being overwritten before I could recover the files.
Unfortunately, at this point I have no real memory of exactly what I did, but the system has been working fine since then. I would have thought that I had rebooted since then, but it's possible that this is the first time I've rebooted. Could I have unmounted some part of the file system such that it would still by unmounted even when rebooting? How can I check this from the command line I get in rescue mode? (My file system gets mounted under /mnt/sysimage/)
I bought a USB Harddrive (Seagate 320 GB) and I want to install a Ubantu 10.04 LTS on it. Although my HP/Compaq Mobile Workstation has a selection to boot to a USB Harddrive, I could not get it to boot to the USB HD. So I found this page:
And tried to create a CD as found in "Booting the kernel from a bootable CD". I thought I got the process to work, and it appears to have found the drive, but after a whole bunch of scrolling text and a long series of "stdin: error 0" I get:
BusyBox v1.13.3(Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash) Enter 'help" for a list of commands (initramfs)Unable to find a medium containing a live file system
I have installed Kubuntu 9.04 to a USB external Iomega eGo Desktop hard drive (it's 1 terabyte). I've tried installing with my other hard drives attached (sdd) and with them disconnected (sda). The installs went smoothly in both cases but I cannot boot from the USB drive. My BIOS supports booting from various devices including USB. Can this be made to boot? How?
I was stupidly compiling code on my netbook with 10% battery left. The CPU ate up my battery reeaally quickly and it did a hard shutdown while still compiling.When I boot up, the Ubuntu loading screen shows up for about two seconds and then it goes to a completely black unresponsive screen. I have a live install on my thumb drive, but I don't actually know what I need to do to fix whatever broke.Edit:Oo, something happened. When I pressed a key the screen filled up with a bunch of stuff I don't understand. But the last two messages are: [ 450.807328] Fixing recursive fault but reboot is needed!mountall: Disconnected from Plymouth
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
i was trying to install Linux on a old usb hard drive i have and i installed it onto the drive (from a .iso cd, i clicked install onto hard drive from the desktop) then rebooted. i tried to boot Linux from it but it did not work then i tried booting of the my main hard drive that has windows 7 on it and i get "failure to boot hard drive" (or something close to that). i reloaded fedora from the CD and looked and my main hard drive still has all of the files from windows and also the usb hard drive has files that look like they are from the Linux install.
I tried to use Grub to boot the Fedora 14 Live CD from its ISO image (SHA256 verified) on the hard drive. I put Fedora-14-x86_64-Live-Desktop.iso in the root directory of the FAT32 partition D: (sda5) then extracted isolinux from this ISO, and put it on D: I followed the isolinux.cfg file, and wrote a menu.lst as follows:
title Fedora 14 Live CD root (hd0,4) kernel (hd0,4)/isolinux/vmlinuz0 root=live:CDLABEL=Fedora-14-x86_64-Live-Desktop rootfstype=auto ro liveimg quiet rhgb initrd (hd0,4)/isolinux/initrd0.img
However Grub told me: No root device found. Boot has failed. Sleeping forever. Here's the contents of isolinux.cfg:
I acquired an old IBM Thinkpad 770e the other day and it runs fine but I have an issue installing Linux on it. It has a floppy drive in it not a cd drive. It also does not have an ethernet jack or wifi.
I did clone my external firewall image to the drive but that image is partitioned in such a way to make it impractical for a laptop/desktop system. So I know that the machine will boot off a floppy and it will run off the hard drive. The bios test utility reports no hardware problems.
What I had hoped to do was to install some suitable distro to it. Not sure which one yet, any recommends? Damn Small Linux would be good except that you are limited to what they offer. I would also prefer to stay with a debian based distro.
The issue is install media. Floppy install images are not practical, and there is no cd drive. Is it possible to boot off a floppy and then chroot to, say a usb flash drive to do the install?
I do have a wifi card (d-link DWL-G650) that fits the micor-channel slot but it requires the madwifi driver which needs the kernel source and depends to be able to install. Not something that normally works out of the box so to speak.
Another question that comes to mind, Is it possible to dd a usb boot image to a hard drive and have it work?
I bought a Samsung N150 netbook with the idea that I would install Linux on it.Now that I have it, I learn that it will *only* boot from the hard drive. there any Linux distribution that can install itself on this machine? Preferably in a separate partition allowing boot to either Linux or Win 7.This needs to be a high confidence installation, because if the existing Win 7 installation is screwed up there appears to be no way to recover.
I'm trying to partition/format a new external hard disk for backup and have run into a snag that now prevents my computer from booting. In the description below of what happened please bear with me as I do my best to remember the commands and screen output (which for obvious reasons I don't have in front of me).As root.The disk was subsequently writable. However, I then realized that the default start and end cylinders had resulted in a very small partition apparently occupying some free cyclinders in the beginning of the disk.
So next I ran fdisk again, deleting the sdc4 I had just created and creating a new one instead, this time using the cylinders at the end of the disk. When I exited fdisk I got a message something like that the new tables can only be read upon a subsequent reboot. I ran mkfs again, but not e2label. Indeed using /sbin/fdisk -l, sdc4 still had the small size as defined initially. So I rebooted.
Now when it comes up I get something like "checking filesystems. fchk.ext3: can't resolve 'LABEL=/media/LaCie2TB1'" and am prompted to login as root to correct. I tried to simply delete sdc4 again but that didn't help. I also tried to edit /etc/fstab (using vi, which I don't know at all) but it kept telling me that this is a read only file, even though permissions are rw for root.Can anyone out there help me so that (1) I can boot into my computer, and (2) I can correctly partition and format the hard drive??
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
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..
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.