Ubuntu :: Change Sda2 To Sda1 Using Fdisk?

Dec 1, 2010

I'll avoid the details of what got me here and get right to the point.I have two primary partitions on 1 hard drive. sda1 is my fat32 recovery partition and sda2 is my ntfs windows xp partition. I need to know how to change the order around so xp is sda1 by using the terminal in the ubuntu live cd.

View 9 Replies


ADVERTISEMENT

General :: Use Fdisk To Make Sda2 Sda1?

Jan 25, 2010

I used GParted to delete my first partition,then moved my second partition to the beginning of the disk. That all went well, but the partition table still shows an unused entry of 0 blocks listed at partition 1. How do I get rid of that entry and make my old second partition sda1?

View 1 Replies View Related

Ubuntu Installation :: Dual Boot - Two Identical Windows Partitions - Sda2 Sda2?

Mar 26, 2011

I just successfully installed ubuntu 10.10 Meerkat Maverik parallel to manufacturer installed Windows 7 Professional on a newly bought ThinkPad t410. All works find just that on the boot screen instead of 1 Windows partition (usually something like "Windows 7 loader on sda1") I find two Windows partitions. Now, I know that Thinkpads have a recovery partition. Funny is though that both "Windows 7 loader on sda1/2" login to what seems the identical Windows (not one of them the "normal" and the other some form of a recovery).

View 1 Replies View Related

Ubuntu :: Change Sda2 Partition To Ntfs - WARNING: The Kernel Failed To Re-read The Partition Table

Mar 27, 2010

I want to change my sda2 partition to ntfs type. i have installed GParted but it is returning a strange type of error. Here is the error dump file...

[Code]...

WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot. WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.

View 9 Replies View Related

General :: Fdisk / Change The Disk Label Of /dev/sda5 To /dev/sda6?

Mar 26, 2010

I have used fdisk to create two new partition.

Before this partition, I had 6 partition of which /dev/sda6 was the boot partition. I deleted /dev/sda5 partition and hence the earleir /dev/sda6 became /dev/sda5. Now I created two new partitions /dev/sda6 and /dev/sda7.

Due to this change in device label of /dev/sda6 I am not able to boot my computer.

Is there any method to change the disk label of /dev/sda5 to /dev/sda6 ?????

View 14 Replies View Related

General :: Fdisk Change Patition System Id _after_ Mkfs.ext3 OK?

Jul 20, 2010

I've a new external usb drive that was shipped formatted fat32. I wanted to convert this to ext3; so I performed a mkfs.ext3. I then noticed that fdisk was still reporting the usb drive as fat32 (even after reboot), but mount was reporting ext3: so I fdisk'ed the drive and change the partition's system id to 83 (Linux)

View 1 Replies View Related

Ubuntu :: Unable To Boot Into Sda2

Apr 23, 2011

First, my mistake was unchecking the option to boot into Ubuntu through GRUB customizer. Woops.All I could do at this point was boot into Vista, that's about it.So, I boot into Vista, wiped the Linux partitions, and restored the ability to boot into Vista with a Vista CD. Then I reinstalled Ubuntu 10.10, no problems here. Its just that when I boot up and get into the GRUB menu, I can't boot into my actual Vista. The option for it isn't present. I can boot into Ubuntu, Memory Test, and Vista's Recovery, but not Vista itself. Here is my GRUB cfg, haven't touched it or anything.

Code:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub

[code]....

I believe that my troubles lie in this part,

Code:

ls: cannot access /var/lib/os-prober/mount/boot
Boot: No such file or directory

I'm unsure of what to do at this point, because I'm afraid of messing everything up.I have a Vista boot CD if I need it, an Ubuntu live CD, but that's about it. Too long, didn't read: Can't boot into Vista on sda2, what do?

View 9 Replies View Related

Ubuntu :: Dosfsck Refuses To Fix Drive /dev/sda2?

Jan 8, 2011

Ubuntu Linux 10.04 LTS -Partition dev/sda2 is formatted as FAT32 and mounted as /d. Boot found a problem with it; the original and backup copies of the boot sector don't match.dosfsck refuses to fix it. I use 'dos fsck /dev/sda2" and it offers to copy one to the other, but whatever I pick it refuses to write to the drive. I use "dosfsck -a /dev/sda2" and again it refuses to write to the drive. How can I fix this Must I reformat the partition?

View 1 Replies View Related

Ubuntu :: Grub2 Config - Installing XP System On SDA2

Aug 17, 2010

My current setup has the following partition:

sda1: ubuntu 32-bits
sad2: ubuntu 64-bits
sad3: ext3 system for personal storage
sda4: swap

My idea is to format my sda2 to become ntfs and install a windows xp system.., my question is how this could affect my current grub2 config since the MBR loads from sda1?

View 7 Replies View Related

General :: No Option To Load Ubuntu 10.04 On SDA2 At Boot?

Jul 30, 2010

I've installed Gnewsense on my sda1 and I no longer have the option to load Ubuntu 10.04 on sda2 at boot. As Gnewsense is ext 3 I cannot access my files in my Ubuntu Home dir. Can I simply switch my boot to sda2? It will solve my problem for the medium term.

View 1 Replies View Related

Red Hat / Fedora :: Can't Access My Sda2 / Enable This?

Mar 27, 2010

I had a Centos install that corrupted the boot and would only boot to GRUB. After about a week of trying linux rescue and various measures I gave up and installed a fresh copy of Centos on /dev/hda which is a 40 GB drive. All my data was on /dev/sda which I did not overwrite and is a 1TB SATA drive. I added sda to the LVM of hda now and is recognized as part of Partition 2 - using the GUI Logical Volume Management. My problem is I can't seem to figure out how to retreive my data from the sda2 drive. This is what I've tried. code...

View 9 Replies View Related

Fedora :: Sda2 Partition Mounted All Over The Place?

Jun 6, 2011

I installed Fedora 15 onto sda2, and a df looks like this:

Filesystem Size Used Avail Use% Mounted on
rootfs 3.9G 3.4G 311M 92% /
udev 991M 0 991M 0% /dev

[code]...

View 7 Replies View Related

OpenSUSE Install :: External HD Not Seen And Internal HDD On /dev/sda2

May 9, 2010

Since a few days i can no longer use my external hard drive (USB). During my quest i noticed the following things: Running openSUSE 11.2 / KDE 4.4.3 / single boot My internal HD is on /dev/sda2 (mounted /) partition manager (YaST) or gparted don't start up (they just hang during start-up) I had to change permissions suddenly to read a CD (i was not in de cdrom group, but i have been using CDs for a while)

Code:
> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 113306052 84757232 22793136 79% /
udev 2052352 4140 2048212 1% /dev

[Code]....

View 5 Replies View Related

General :: Mount An ISO Made With Dd If=/dev/sda2 Of=/backups/backup.iso

Feb 26, 2010

this is my structure:

[root@ iso]# fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System

[Code]....

And I want to restore some files from /dev/VolGroup00/LogVol00.

View 14 Replies View Related

General :: Read Just Disk Space Between /dev/sda2 And /dev/sda5?

Dec 19, 2010

However, when I installed Oracle Express Edition Database 10g, it complains that I have insufficient disk space on '/' directory. Here is a snapshot of my system. Wondering if I would like to swap the free space from /dev/sda5 into /dev/sda2.

Code:

[root@localhost ~]# fdisk -l
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders

[code]....

View 14 Replies View Related

OpenSUSE Install :: Failure Setting Up Encrypted Dm Device On /dev/sda2?

May 21, 2009

openSUSE Install/Boot/Login: I am looking for a Linux distribution with a working LTSP OOTB. LTSP-openSUSE / KIWI-LTSP looks interesting (http://en.opensuse.org/LTSP).

When I boot openSUSE-11.1-DVD-i586.iso, go through the installer, and attempt to use encrypted LVM, I get the following error dialog:

Code:
YaST2
Error Failure occurred during following action: Setting up encrypted dm device on /dev/sda2 System error code was: -3034

View 1 Replies View Related

OpenSUSE Install :: Format Windows Partitions Sda2 / Sda3?

May 20, 2010

I have been dual-booting Vista and openSUSE 11.2 until my SUSE install is fully functional and now and I want rid of Vista and to reclaim the space for Linux.

Code:
fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x28000000
[Code].....

sda2 and sda3 are the Vista partitions. sda2 is a recovery partition and sda3 is the main partition. All data is safely copied from sda3 and now I want to reformat them for SUSE. I not bothered about partition resizing i.e. I am happy to just have the sda2/sda3 space available to SUSE and mount them somewhere.

1) Do I need to do anything about the boot table first or can I just reformat sda2 & sda3?

2) How should I format sda2/sda3? I'm guessing I need to unmount them and then format. Should I use ext4 or something else? Which command/tool should I use?

View 9 Replies View Related

OpenSUSE Install :: Booting From Ext4 Fails - SDA2 Is Not Reiserfs

Feb 14, 2011

I'm migrating my OpenSuse 11.3 (which was update from 11.2, 11.1 ........ ) to a new hard drive. My partitions were reiserfs and in the migration I'm "converting" them to ext4, the conversion process is simple and it works fine for all of them except the root one:
1) I create a new partition on the new hard disk (bigger than the original one)
2) I format it with ext4
3) I copy all the data with cp -a from the original partition to the new one

I already have all the partitions migrated to the second disk, then I have tried to do it with the root partition:
-I've booted with a system rescue CD and I've done !9 2) and 3) with no problems.
-I've edited and changed al entries in fstab and grub conf (menu.lst) to point the new partitions
-I've reinstalled grub and it seemed It will be no problems booting, but

It begins booting, the grub menu appears, It begins booting the kernel, but suddenly:
waiting for /dev/root to appear: OK
fsck.reiserfs -a /dev/sda2
........
mount -o ro,ad,user_xattr -t reiserfs /dev/root /root
and it fails, because sda2 is not reiserfs, but why does it try to mount it as reiserfs if I'm not saying anywhere it is reiserfs?

This is my fstab:
Code:
#/dev/disk/by-id/ata-ST3160211AS_6PT0V05Y-part2 / reiserfs acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part2 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part3 /home ext4 defaults 1 0
/dev/disk/by-id/ata-ST3500630A_9QG94AT1-part1 /mnt/backup auto noauto, defaults, users, exec .....

I've booted it also with SuperGrub2 disk and the same thing happened, so I think it's not a grub problem but I don't wknow why it tried to mount the root partition as reiserfs.

View 7 Replies View Related

CentOS 5 :: Mdadm: Cannot Open /dev/sda2: Device Or Resource Busy

Dec 5, 2010

Trying to complete a RAID 1 mirror on a running system and have run into a wall at the last part. I can't add the active physical disk to the mirror. This is on a Centos 5.6 x86_64 system. Anybody know where to go from here? I've tried adding the nodmraid line to the kernel boot line with no luck. Tried removing the logical volumes from LVM, but it won't let me. Not a Linux newbie, but haven't set up a RAID in a long time.

[root@blackbox-0-2-e3-23-72-c5 ~]# mdadm /dev/md1 --add /dev/sda2
mdadm: Cannot open /dev/sda2: Device or resource busy

Here's output from fdisk -l:

[root@blackbox-0-2-e3-23-72-c5 ~]# fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders

[code]....

Here's mdadm.conf:

[root@blackbox-0-2-e3-23-72-c5 ~]# cat /etc/mdadm.conf
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=3c6f7354:b9bfc86a:aa9d0dfb:cdd51bd8
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=31ee55ba:be3b3606:974ac87d:627435a9

View 9 Replies View Related

Ubuntu Installation :: Netbook Via Wubi / Error Alert /dev/sda2 Does Not Exist Dropping To A Shell?

Feb 10, 2011

my laptop doesnt have any cdrom drive and all usbs are broken so wubi is my only option. oh and i use win 7 starter. i tried to install netbook edition to my laptop but i always get error. i can install with only "acpi workarounds". i dont even understand what it is the error and why i'm getting this error.

error is

Quote:

Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
-Check rootdelay= (did the system wait long enough?)
-Check root= (did the system wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda2 does not exist. Dropping to a shell!

BusyBox v.1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of built-in commands

(initramfs)

View 4 Replies View Related

Ubuntu :: Replace 10.04 On SDA1 With 10.04?

Aug 20, 2010

Usually if I want to do a fresh install I just wipe the disk, but this time I really want to keep my home partition and overcome a libwnck bug that can only be beaten with a fresh installation.

So I need to completely replace 10.04 on partition 1 (root) and link it to partition 2 (home). How do I do this?

View 3 Replies View Related

Ubuntu :: Sda1 And Sdb1showing As The Same?

Feb 7, 2011

i'm having quite the time trying to automount both my windows partition and sd card on boot. when i go into pysdm, it shows that sda1(windows) is actually sdb1(which is my card) so my windows partition wont ever automount! heres a pic along with my fstab:

Quote:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc

[Code]....

View 3 Replies View Related

Ubuntu :: 10.04 Can't Mount Its Own Partition (/dev/sda1)

Feb 26, 2011

I turned on my laptop today and noticed a load of unfamiliar startup text so I knew something was wrong. Now whenever I startup my laptop, GRUB loads fine but when I try to start Ubuntu it says the following:

Quote:

mount : mounting /dev on /root/dev failed : No such file or directory
mount : mounting /sys on /root/sys failed : No such file or directory
mount : mounting /proc on /root/proc failed : No such file or directory

[code]....

so all I'm left with is this BusyBox command prompt. I'm on a live Ubuntu CD right now and if I try to mount /dev/sda1 either in the terminal (with the mount command) or with the GUI it just gets stuck.

Quote:

This will provide you with a list of your drives and partitions, you need to pick the one that your root file system is installed to, it will be something like /dev/sda1 but in my case I can't even mount /dev/sda1. When I run sudo fdisk -l heres what I get

Quote:

ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders

[code]...

thats weird because I rebooted with a live Ubuntu CD and didn't even try to mount /dev/sda1 this time. The instructions were to then try to mount the drive from the GUI so heres what happens when I do that: it attempted to mount it for about a minute then gave me this error message When I tried again heres the error it gave me The problem seems to be that /dev/sda1 can't be mounted for some reason.

I don't know what that error message means and I don't know what else I can do to further diagnose /dev/sda1 and find out why it can't be mounted. Ordinarily I'd just reinstall Ubuntu but I have a couple of lab reports that I had saved on that partition so I'm in trouble if I can't figure out how to access the partition.

EDIT: At the end of that other thread someone recommends to use testdisk to recover the data from the partition. All I really need to do is get those lab reports back but I had them saved inside a Windows 7 guest on Virtual Box. Will this complicate matters a lot for me?

UPDATE: I tried to reinstall Ubuntu and it wouldn't work. Seems this is a bigger problem than I suspected. Does this mean my harddrive is corrupted? I can still use the Windows 7 partition but I take it that the Ubuntu installer not working is a bad sign.

View 3 Replies View Related

Ubuntu :: Dd If=/dev/zero Of=/dev/sda1 \ Low-level Formatting An HD From Another Computer?

Jan 8, 2010

I am in 9.10 LiveCD , low-level formatting an HD from another computer, but when i did# dd if=/dev/zero of=/dev/sda1 dd does something , but at 413 MB stops

root@ubuntu:~# dd if=/dev/zero of=/dev/sda1
dd: writing to `/dev/sda1': Input/output error
806433+0 records in

[code]....

View 9 Replies View Related

Ubuntu Installation :: Can't Get Head Around Hd(0,0) And Sda1 Conversion?

Mar 16, 2010

I'm setting up my menu.lst for GRUB Legacy (downgraded from GRUB2 in 9.10) and I'm just having difficulty getting my head around converting the /dev/sda1, sda2 etc to hd(0,0), (0,1).

My partitions are as follows:

sda1 = Windows XP (ntfs primary partition)
sda2 = Windows Vista (ntfs primary partition)
sda3 = Linux boot (small ext2 primary partition)
sda4 = extended partition
sda5 = Windows XP second different installation (ntfs logical partition)
sda6 = Ubuntu 9.10 root (ext3 logical partition)
sda7 = linux-swap (swap logical partition)

As I said, I am trying to set these up in GRUB, but cannot work out what all the hd(0,x) equivalents are. I *thought* it was just a case of subtracting 1 from the sdax number, but it doesn't appear to be that way.

View 2 Replies View Related

Ubuntu :: Move /usr Directory From Sda1 To Sdb1?

Jun 16, 2010

I have 2 hard disks, one is full and I would like to move my /usr directory from sda1 to sdb1.

I tried the following..

sudo mkdir /driveb
sudo mount /sdb1 /driveb
cd /driveb
sudo mkdir /usr
sudo cp -b --copy-contents -r /usr /driveb/usr
code....

I don't fully understand the difference between a directory and a mount point and I may be treating them wrong.

I would like /usr to point to sdb.

is it possible, or should I try to change my path instead and ignore this problem?

View 8 Replies View Related

Ubuntu Installation :: Cannot Mount /dev/sda1 In Live CD

Jun 8, 2011

In a desperate attempt to play Tomb Raider, I have shrunk the /dev/sda1 with GParted in Maverick Live CD (the same one I used to install) then installed WinXP on it. Unfortunately for reason X, XP simply does not boot. So again I am in the Live CD, I have deleted the XP partition and am now trying to fix Grub2. In all the tutorials, you need to mount the normal partition. Which is what I am trying to do, but:

Code:
sudo mount /dev/sda1
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab

So there in nothing that I can do. Under "Places" I see my 489GB file system but I cannot mount it.

At least I am getting Internet through the Live CD and I always have Knoppix on hand.

EDIT: I should tell you that there is a boot flag on the /dev/sda1.

View 1 Replies View Related

Ubuntu Installation :: Permission Denied While Trying To Open /dev/sda1?

Mar 25, 2010

When, from the live cd I try to execute

Code:
e2fsck -y /dev/sda1
All i get is:[code].......

View 3 Replies View Related

Ubuntu Installation :: SDA1 Mounted On /CDROM While Booting From CD

May 5, 2010

I'm trying to install Lucid on a computer with windows already present. When I ran trough the install procedure no drives show up at the partitioning stage. So I check some things out and it turns out that /dev/sda1 is mounted to /cdrom and I can't umount it because it says the disk is in use. I'm booting with the live-cd downloaded from ubuntu. Why is this happening? Previously with older live-cd's I always have to mount the HD manually if I wanted to access it for any reason?

View 2 Replies View Related

Ubuntu Installation :: Grub 2 With Windows On /dev/sda Linux On /dev/sda1

Jun 5, 2010

I tried to update my system from 9.10 to 10.04 but when the system boots it says that it can not find the symbol for grub_puts_ and drops me into grub rescue.

I have a live disc and have been trying to get grub to reinstall following the advice from different websites and forum threads. It seems that everything goes smooth until I get to the part where you run update-grub. At that point I get the following:

/usr/sbin/grub-probe: error: cannot find a device for / ( is /dev mounted?).

My configuration is as follows:

windows is loaded on /dev/sda1. fdisk -l lists this partition as bootable.
linux / is loaded on /dev/sdb1
/usr is loaded on /dev/sdb5
/var is loaded on /dev/sdb6
/home is loaded on /dev/sdb9

[Code]....

this is where I have problems. it says: /usr/sbin/grub-probe: error: cannot find a device for / ( is /dev mounted?).

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved