Hardware :: How To Move Boot Sector From SCSI To SATA Disk
Jul 5, 2010
I have three disk in my system. One SATA (250GB) and two SCSI (73GB) disks. The Two SCSI disks were installed originally and RHEL3 is installed on it. The SATA disk is installed a few years later with RHEL5. As you can see below, the boot sector is still on one of the SCSI disks (sdb1).
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 236545184 15259760 209075624 7% /
/dev/sdc2 68539636 4578792 60479160 8% /users
/dev/sdb1 101089 26847 69023 29% /boot
/dev/sdb3 68437272 36963704 27997104 57% /RHEL3U7
tmpfs 2025916 652 2025264 1% /dev/shm
How I can move the boot sector from the SCSI disk (sdb) to the SATA disk (sda) without losing data and without re-installation?
View 6 Replies
ADVERTISEMENT
Aug 13, 2010
Can SATA 3 (SATA III) Hard disk be run on motherboard which only supports SATA II, except sacrificing the speed (throughput)?
View 2 Replies
View Related
Nov 20, 2010
I was using the disk utility on Ubuntu 10.04 and wanted to make by 500GB external NTFS formatted USB drive into 1 x 50GB FAT32 and 1 x 450GB NTFS. I clicked the option that said format or create a partition and it basically wiped the whole thing in a split second leaving me with 500GB of seemingly empty space. Obviously the files are still there but I cannot boot the drive to view anything. I have downloaded testdisk, but don't know how to use it, but I am sure there is a relatively simple solution here. I am currently repairing the boot sector of the drive as Test Disk showed the drive as "no type" i.e. not FAT/NTFS/ext4 etc., but shows the correct amount of used space though, but I cannot view anything err go, I cannot use the undelete command as yet.
View 2 Replies
View Related
Aug 17, 2010
I have a SSD Harddisk with both an usb and Sata connection, and I want to be able to boot both from usb and sata but I can't make it work. When the disk is connected with sata anything works fine but when I connect it with usb instead, Fedora seems to boot but then it gives me an "No root device found" error and just sleep forever. This happens even if I install fedora 13 while the disk is connected with usb. I am running Fedora Core 13. I changed my fstab to
/dev/sda2 / ext4 defaults 1 1
And the disk is still booting when connected to the sata controller. So far so good. But if I boot from the usb connection, it still give me the same "No root device found" message. Even more odd is it that if I boot my fedora core 13 dvd, and choose "rescue installed system" it can't detect the harddisk when connected to usb. And there is no /dev/sd* or anything similarly which could look like a blockdevice. Did redhat forget to include usb drivers in their rescue image for Fedora core? I just tried the disk on an other system, with exactly the same problems.
I have now added the LABEL=myroot line to fstab(I guess it have to be uppercase to work) and the harddisk still boot fine when using sata, but it still can't boot using usb. I begin to guess that redhat forgot some usb drivers In fedora Core 13, because the system can't see the harddisk when booting the dvd and entering rescue mode. blkid don't show any harddisks at all and there are no block devices in /dev/ which might be my usb disk. Is it possible to find the uuid of partitions if id add the usb harddisk to a windows computer, and more important: will this be the same uuid as linux will se.
View 1 Replies
View Related
Jun 17, 2010
I have a problem to boot from a SATA disk. The filesystem image was created by our customer and copied to the SATA disk. It is SLES 10.2. When booting, "waiting for /dev/sda2 to appear" appears. The filesystem seems not to be corrupted, it can be mounted via a live CD. Here are the files I consider being useful for you.
menu.lst
Code:
timeout 10
gfxmenu (hd0,1)/boot/message
title SLES 10.2
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=0x314 splash=silent resume=/dev/sda1
showopts initrd (hd0,1)/boot/initrd
title Failsafe -- SLES 10.2
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=0x314 splash=silent resume=/dev/sda1 showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off
initrd (hd0,1)/boot/initrd fstab
Code:
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
/dev/sda2 / ext3 defaults 0 0
/dev/sda1 swap swap pri=42 0 0
fdisk -l
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104514+ 82 Linux swap / Solaris
/dev/sda2 * 263 4209 31704277+ 83 Linux
View 5 Replies
View Related
Sep 1, 2010
I have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.
Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.
View 11 Replies
View Related
Jan 3, 2011
I recently installed meego on an asus eee pc, neat l ittle os. i had originally had grub set up booting into ubuntu netbook remix. win xp and the system restore partition. when i installed meego i was allowed to select what i wanted as far as boot options in the new boot loader (extlinux). windows and meego boot just fine but when i try to get into my already configured and homey install of ubuntu nbr it gives an error of
"boot sector signature not found (unbootable disk/partition)"
View 1 Replies
View Related
May 6, 2009
I see to be having a problem with the SCSI disk that I'm trying to install. The computer that it is attached to was Win XP and SCSI worked fine. When we changed the computer over to Fedora 10, SCSI was being read by the computer but is not accessible.
View 5 Replies
View Related
Jun 2, 2011
I have a small project that I am trying to do for my job to help us out. Basically, I need to make a tool that lets me view all the sectors of a hard drive in hexadecimal format to make sure they are all zero after a low-level format. I need it to be very minimal, and display the data in a way that I can scroll down and skim through the sectors. Doesn't have to be pretty, just functional.I need it to do more things down the road, but this is the first hurdle I need to overcome. I would like to create a GUI interface so it looks nice, but first I am only concerned with the sector viewing function. I am not entirely sure where I should start.
I see there is a tool called dd I could use to read the hard drive and I am wondering if I need to use that, or if I can just open /dev/hda as a file and be able to view all the sectors that way.Also, just to clarify, I am wanting to write this tool for linux,specifically DSL. I need it to be a very small distribution that can be loaded quickly from a usb drive, cd, or over the network with PXE.
View 15 Replies
View Related
Apr 16, 2010
The system is fc12 with a scsi pci card. There are 4 disks on the scsi chain, properly terminated. At boot time the system does not recognize the 4th drive. It creates a /dev/sdh entry, but the individual partition entries are not created. fdisk /w creates the /dev/sdh* partition entries. After that the drive is recognized by the system.
Is there record of the device scan activity? What could cause the boot process to identify the drive but stop short of identifying the partitions.
dmesg output seem normal
scsi3 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec (Compaq OEM) 29160 Ultra160 SCSI adapter>
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsi: waiting for bus probes to complete ...
[Code].....
View 4 Replies
View Related
Nov 20, 2010
I am trying to mount a a Magneto Optical WORM drive, mechanically it is a 2.6 Gb, 1024 Bytes/Sector, 5.25", Verbatim Media, The disk was created under OS-2.
I am using CentOS 5, and have tried mounting the disk as msdos and as vfat and get superblock errors among others.
what filesystem type did OS-2 use? is there an add on to CentOS that will support the filesystem?
View 6 Replies
View Related
Oct 27, 2010
2 months ago, I built a dedicated backup server using 4 2TB SATA drives for software RAID5 (6TB total). A few days ago, smartd sent out mail saying it found an unreadable sector on one of the drives. I ran selftest using smartctl and the error persisted. So far, neither software RAID nor ext4fs running on top of the RAID volume have reported errors.
MOST OPTIMISTIC: It is normal to have a few bad sectors among billions. Software RAID takes care of alternatives. Keep using the system until RAID spits a more serious warning in the future.
MOST PESSIMISTIC: It is a really bad sign to lead a disaster. No good disk drive should have bad sectors especially when it is only 2 months old. The error is simply not detected by software RAID and ext4. Replace the drive immediately and return the bad drive to the supplier.
View 8 Replies
View Related
Dec 20, 2010
Should the first bootable partition start from sector 1 on a hard disk? or Can it be created anywhere on the disk? I am using fdisk to create the bootable partition.
View 2 Replies
View Related
Mar 26, 2010
I am developing for a Linux based device for which the HOT PLUG option is deactivated. As part of optimizing the code, we also don't want to create device files for unused devices. We understand that both USB attached and fixec SCSI hard disks would create device files like /dev/sda,/dev/sda1 /dev/sdb, /dev/sdb1 etc. Is this understanding correct?
In the case of USB attached SCSI devices, would driver create this device file entry? How is it created? Can somebody please tell me how it is being created automatically. In case I attach a fixed SCSI hard disk before boot up(and create device file /dev/sda1), would USB SCSI device driver create device files starting from /dev/sdb, automatically.
View 4 Replies
View Related
Dec 9, 2010
In the past I have been able to succesfully install ubuntu on several external usb drives with up to 500gb in size.Now I am trying to install a copy of ubuntu 10.10 on an external usb iomega 1tb eGo drive but I am having major issues.The installer reports the total disk size as only 124 gb, instead of the 998gb that gParted reports for the same disk. Proceeding with "use the full disk" installs ok, but it doesn't boot.Grub2 reports that it cannot find the kernel.After some desperate attempts to repartition and after some googling I think that the issue may be with the sector size, which fdisk -l reports as 4096kb (all my other drivers report 512kb) and I have the impression that linux is not ready for it (or I lack the knowledge, which seems more likely).I have also tried to install fedora 14. This distribution reports the correct disk size, installs properly, but again, it cannot boot (Fedora uses grub, not grub2), with a very similar message to the grub2 installer.Because of the way I work, I need my external usb drive to be able to boot linux. And I find it difficult to believe that linux doesn't handle 4096kb sector disks, so here I am asking for help . Please note I am not a linux expert.
View 3 Replies
View Related
Mar 24, 2011
Suppose during a script execution I am attaching one or two new disk having different vendor id to host machine, how do I know which disk corresponds to which file in /dev/ directory? i just want to perform some operation on those device from some script, how will i know which file in /dev directory correspond to which disk(having same size but different vendor id).
View 1 Replies
View Related
Apr 12, 2010
Is there any hope of getting a WD10EARS 4k-sector disk to work properly as a secondary under Etch? Just wondered if anyone had a fix before I RMA and return it as "Not suitable for purpose" WD say it should be OK with linux. But it ain't. It gives very poor perfromance, with a lot of hesitation. The issue is apparently one of sector boundaries, but the exact details are extremely complex.
View 14 Replies
View Related
Jul 6, 2010
So I have a system that is about 6 years old running Redhat 7.2 that is supporting a very old app that cannot be replaced at the moment. The jbod has 7 Raid1 arrays in it, 6 of which are for database storage and another for the OS storage. We've recently run into some bad slowdowns and drive failures causing nearly a week in downtime. Apparently none of the people involved, including the so-called hardware experts could really shed any light on the matter. Out of curiosity I ran iostat one day for a while and saw numbers similar to below:
[Code]...
Some of these kinda weird me out, especially the disk utilization and the corresponding low data transfer. I'm not a disk IO expert so if there are any gurus out there willing to help explain what it is I'm seeing here. As a side note, the system is back up and running it just runs sluggish and neither the database folks nor the hardware guys can make heads or tails of it. Ive sent them the same graphs from iostat but so far no response.
View 1 Replies
View Related
Jul 31, 2011
After installing Ubuntu on my computer separately its giving "gdu notification daemon- Disk failure is imminent.Reallocated sector count failing.
View 2 Replies
View Related
Feb 15, 2010
i m facing same error in most of the HCL servers. the problem is that it throws error while booting and sometimes not throws error. the error is :-
Feb 13 13:17:25 fe13s kernel: Adapter 0: Bus A: The SCSI controller was reset due to SCSI BUS noise or an invalid signal. Check cables, termination, termpower, LVDS operation, etc.
Feb 13 13:17:30 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
Feb 13 13:29:15 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
code....
View 2 Replies
View Related
Apr 11, 2011
In my understanding, the way /proc/scsi/scsi gets populated, /proc/paritions also gets populated in the same fashion. i.e. the description for first entry of /proc/scsi/scsi can be seen in the first entry of /proc/partitions and same for rest.
So, With this assumption, in my project, I used to relate first entry of /proc/scsi/scsi with first entry of /proc/partitions to get its total size and same for all entries.
But, I observed some differences in following scenario, where
1) The first 4 entries in /proc/scsi/scsi are SAN luns attached to my system and for which the actual device names in /dev/ are sda,sdb,sdc and sdd.
2) The last 4 entries are the internal HDDs on same system. In /dev/, their respective device names are sde,sdf,sdg & sdh.
(Output attached at end of the thread)
But in /proc/partitions, the device order is different.
You can see their respective sizes in /proc/partition output as well.
So, my question is, in this particular scenario, I can't relate the first entry of /proc/scsi/scsi with first entry of /proc/partition. i.e. scsi0:00:00:00 is not /dev/sde, because it is actually /dev/sda.
It seems that my assumption is wrong in this scenario.
Is there any way or mechanism to figure out actual device name for an entry in /proc/scsi/scsi in /dev/ directory?
How can my application should relate /proc/scsi/scsi entries with their respective device names and sizes?
View 2 Replies
View Related
May 17, 2009
I currently have XP installed on a NetBook (Samsung NC10), and would like to run Fedora on it. I'm currently looking at putting Fedora onto a flash memory card to test it works OK on the hardware, before installing it to the hard disk. The problem I've got is that the boot sector is occupied by WDE software (TrueCrypt). Will this pose a problem for dual-booting XP with Fedora, or will GRUB move the boot loader in the usual way?
View 2 Replies
View Related
Mar 7, 2010
I'm running 9.10 off of a 4 GiB CF card. I keep running into space issues with updates, so I purchased an 8 GiB replacement card. I've cloned the 4 GiB card to a .IMG file using DD.I've then copied the 4 GiB image back to the 8 GiB card using the Ubuntu startup disk creator program. Once done, I'm able to properly boot off of the new 8 GiB clone.Unfortunately, the clone ends up with 3.67 GiB of unallocated space at the end *see attached). I tried deleting the "extended" partition that the swap is located at after booting from a Live CD and the system was unable to boot after this. I was thinking that I would delete the swap entirely and create a swap file after I merged the existing partitions, but I was unable to do this.
best way to do this (e.g. get one large 8 GiB partition with my old image on it)? I still have the original untouched 4 GiB card and also have an external CF drive if I need to redo the cloning. I've also used Clonezilla before, so perhaps there's a way to do this that allow me to grow the image as it's being cloned.
View 1 Replies
View Related
Feb 13, 2011
upon adding the installed VL on the existing LILO.. (btw i have not installed its LILO on the installation setup) since i know that i will just add it to the "existing" LILO the error above arises upon doing the lilo run command.$adding Vector6.0 etc.FATAL : Boot sector of /dev/hdc13 doesn't have a boot signature.i have tagged the /dev/hdc13 bootable via CFDISK. but same problem arises..
View 8 Replies
View Related
May 4, 2010
When I enter "cat /proc/scsi/scsi" I'm returned with "cat: /proc/scsi/scsi: No such file or directory". I've tried this on two different installs on two different machines.
View 6 Replies
View Related
Jun 23, 2011
Some of our workstations have LTO's attached and they seem to drop off every now and again, the only thing which picks them up again (besides a reboot) is the famous rescan-scsi-bus script from here
The thing is that I'd like non-root users to be able to run this script, which in turn needs root to /proc/scsi/scsi
View 2 Replies
View Related
Jun 1, 2010
Have a problem here with 1Tb SATA disk. Disk is visible during boot (dmesg below), all modules are loaded after (make menuconfig + select <M> + make modules + make modules install + modprobe)
fdisk -l can not see any /dev/sd...
modules are not in use
Code:
dmesg:
Code:
Code:
View 3 Replies
View Related
Apr 1, 2010
I bought 2 new 1,5TB sata disks for my server. But when I plug them in my debian gives a error message: ata2: SRST failed error -16
The debian runs from an old 500GB ide disk and a 160Gb ide disk for the home dirs.
I tried antoher cable, but that is not the problem(or is that other cable also broken...). I also tried all sata modes in bios, auto, enhanced, sata-only. I also tried booting an ubuntu 9.10 live cd. But in gparted the disks won't show up.
Is it possible that the sata controller of the motherboard is to slow.
View 11 Replies
View Related
May 1, 2011
I keep getting this error in my log viewer every 2 seconds: Code: ata4: limiting SATA link speed to 1.5 Gbps I have a dual boot SSD and I have run many SMART tests in windows and linux, (using smartmon tools and the disk utility) and the reports are all 100% healthy..... My research shows that this error represents one of the following:
1. Problem with SATA controller
2. Changing BIOS to allow SATA
3. Changing SATA mode to PATA or AHCI
4. Replacing the SATA cable
5. Allowing the SSD to run at SATA II speeds, i.e. 3 Gbps
- Does anyone know how to try number 5, i.e. allowing the SSD to run at SATA II speeds? I am lost here and this problem has caused my machine to crash twice when watching a movie in linux/ ubuntu. (It is worth noting that the crashes have only occurred in linux and I have never had an issue in windows, so it does seem to be a linux setting somewhere, hence why I think it is a "allowing SATA II to run at correct speeds issue")
View 4 Replies
View Related
Sep 16, 2010
I have a 3.5" SATA disk in an external enclosure which is connected to my USB port. How do I get F13 to recognize the disk? It does not show up in the Disk Utility (Applications > System Tools > Disk Utility).
F13 does recognize flash drives that I put into a USB port.
View 7 Replies
View Related