directory and system volume name question

Asked by Brian Marine on 2012-09-26

i, after installing ubuntu as a dual boot, deleted the windows partition and used the space to extend the ubuntu partition. afterwards i check the volume and it says unknown. so i ussed wine windows program loader to check the C: drive and got this

this was the directory
home/.wine/dosdevices/
this is the file tree

c:
>program files
>users
>windows
d:
>boot
>casper
>dists
>install
>isolinux
>pics
>pool
>preseed
>ubuntu
>autorun.inf
>md5sum.txt
>readme.diskdefines
>wubi.exe
z:
>bin
>boot
>cdrom
>dev
>etc
>home
>lib
>lost+found
>media
>mnt
>opt
>proc
>root
>run
>sbin
>selinux
>srv
>sys
>tmp
>usr
>var
>initrd.img
>initrd.img.old
>vmlinuz
>vmlinuz.old

i also reviewed sudo fdisk -l and got this

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2e9a647b

   Device Boot Start End Blocks Id System
/dev/sda1 2048 3074047 1536000 27 Hidden NTFS WinRE
/dev/sda3 * 3074048 299997183 148461568 83 Linux
/dev/sda4 299999230 312580095 6290433 5 Extended
/dev/sda5 299999232 312580095 6290432 82 Linux swap / Solaris

sda1 is my toshiba system volume
sda3 is ubuntu
sda4 is my extended
sda5 is my linux-swap

i would like to make my ubuntu partition into the C: drive
and get rid of what i dont need

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
Brian Marine
Solved:
2012-09-27
Last query:
2012-09-27
Last reply:
2012-09-27
Brian Marine (crysisfreak7) said : #1

if you need more info on the file tree let me know

Linux doesn't have a 'C: drive' That is a windows construct. What do you want to achieve and we can advise.

Thanks

Brian Marine (crysisfreak7) said : #3

i want to consolitdate these C: D: a,d Z: areas just so i have them all in one place and i can use wine to install my windows programs on the same "volume". that way i dont have to go to the "C:" drive to get my windows programs.

then delete the partitions in the installer then install Ubuntu to the new freed space (This will destroy the data).

Brian Marine (crysisfreak7) said : #5

you mean delete the C: d: and z: folders then reinstall ubuntu? if so can you show/tell me where to find everything i installed so i can make a partition to put my files on first

Brian Marine (crysisfreak7) said : #6

also is it safe to delete the toshiba system volume? it is what shows up first and allows me to select which drive to boot off first

Warren Hill (warren-hill) said : #7

Brian,

Where are you seeing these C: D: and Z: drives?

From your original question your drives are

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2e9a647b

   Device Boot Start End Blocks Id System
/dev/sda1 2048 3074047 1536000 27 Hidden NTFS WinRE
/dev/sda3 * 3074048 299997183 148461568 83 Linux
/dev/sda4 299999230 312580095 6290433 5 Extended
/dev/sda5 299999232 312580095 6290432 82 Linux swap / Solaris

Thats one drive with 4 partitions 3 on which are Linux sda3, sda4 and sda5 and the other is a recovery partition.

If you have removed Windows then how can you see a C:, D: or Z: drive Not in Linux because Linux doesn't use this convention unless you are looking under Wine in which case these are not real drives

Brian Marine (crysisfreak7) said : #8

home/.wine/dosdevices/
this is the file tree

c:
>program files
>users
>windows
d:
>boot
>casper
>dists
>install
>isolinux
>pics
>pool
>preseed
>ubuntu
>autorun.inf
>md5sum.txt
>readme.diskdefines
>wubi.exe
z:
>bin
>boot
>cdrom
>dev
>etc
>home
>lib
>lost+found
>media
>mnt
>opt
>proc
>root
>run
>sbin
>selinux
>srv
>sys
>tmp
>usr
>var
>initrd.img
>initrd.img.old
>vmlinuz
>vmlinuz.old

Brian Marine (crysisfreak7) said : #9

ok turns out d: was a dvd i had, Z: is the ubuntu, and i dont know why C: is there i guess its for wine but its all part of the same partition.