partition error while installing

  • nlz
Posted: Mon, 05/26/2008 - 08:42
I want to create a Ubuntu Studio and 64 studio dual boot. I played with the liveCD on my desktop and I was really enthusiastic, but since I do 95% of my stuff on my laptop, I want to have it there too. But there i have a new nvidia card, so i need to do the install do install the nvidia drivers. So then i wanted to make a dualboot by repartitioning my /home to create a 64studio / . When I tried to do that, the partitioner said that this wasn't possible! I really don't understand this since the /home partition is not mounted. Is this a common problem? (PS To create a dualboot i can just put the select the seperate /boot partition for 64studio too, right? I hope it will just pop-up in GRUB, any experience?)

I'm short in time

  • Icemouse
  • 08/04/07
  • Wed, 06/04/2008 - 10:20
I googled: http://www.google.com/linux?aq=f&hl=de&q=NVIDIA%280%29%3A+Error%3A+Unable+to+find+DOS+%28Enable%2FDisable+output+switching%29&btnG=Suche&lr= And I haven't the time to read this, but maybe it will be a help: http://groups.google.de/group/linux.debian.bugs.rc/browse_thread/thread/ff2ae11648dd47b7/631666263916bfb3?lnk=raot

outcome

  • nlz
  • 05/26/08
  • Wed, 06/04/2008 - 10:02
here you go: trotski@labda:~$ grep "WW" /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. (WW) NVIDIA(0): Error: Unable to find DOS (Enable/Disable output switching) (WW) NVIDIA(0): file path under /proc/acpi/video. NVIDIA X driver will not (WW) NVIDIA(0): be able to respond to display change hotkey events. (WW) Configured Mouse: No Device specified, looking for one... trotski@labda:~$ grep "EE" /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER trotski@labda:~$ grep "NI" /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. trotski@labda:~$ grep "??" /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. thanks.

grep "EE" /var/log/Xorg.0.log

  • Icemouse
  • 08/04/07
  • Wed, 06/04/2008 - 08:48
Errors might be also interesting. WW perhaps will inform us of all the missing fonts. Off topic: What does this mean? (EE) AIGLX: Screen 0 is not DRI capable

Logfile 2

  • skullnotions
  • 09/29/07
  • Wed, 06/04/2008 - 08:23
Hi Ralf Nice post ;-) forgot that one in a terminal type: $ grep "WW" /var/log/Xorg.0.log Cheers, dave

Logfile

  • Icemouse
  • 08/04/07
  • Wed, 06/04/2008 - 06:44
Are there any error messages in /var/log/Xorg.0.log? Cheers, Ralf

nvidia installer 2

  • skullnotions
  • 09/29/07
  • Wed, 06/04/2008 - 02:55
Hi nlz, Once you get to the black screen, [ctrl] + [alt] + [f1] to get you into the terminal.. login as root: # cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup1 # cp /etc/X11/xorg.conf /home/(your user)/xorg.conf-backup1 # cd to NVIDIA-Linux-(yourversion).run # init 3 # /etc/init.d/gdm stop # sh NVIDIA-Linux-NVIDIA-Linux-(yourversion).run # edit /etc/X11/xorg.conf (yourself and change "nv" to "nvidia") # halt and restart This should be what you are doing anyway except you are configuring xorg.conf yourself now. and see if this gets you to a gui without reinstalling nvidia and startx each time. If not...get to your desktop with your nvidia install method. Post these Sections of xorg.conf-backup1 (xorg before your nvidia install) Section "Module" Section "Device" Section "Monitor" Section "Screen" Here so we can compare them to the one you've posted. Cheers, dave

nvidia installer

  • nlz
  • 05/26/08
  • Tue, 06/03/2008 - 18:26
the Nvidia installer edited the xorg.conf for me. The problem is that it works after I used the installer and start the xserver with startx, but when I boot it end up in a black screen. So then I have to run the installer again and use my system that way. my xorg.conf: Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad" EndSection Section "Files" # path to defoma fonts FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" EndSection Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" EndSection Section "Monitor" Identifier "Generic Monitor" HorizSync 28.0 - 64.0 VertRefresh 43.0 - 60.0 Option "DPMS" EndSection Section "Device" Identifier "nVidia Corporation NVIDIA Default Card" Driver "nvidia" EndSection Section "Screen" Identifier "Default Screen" Device "nVidia Corporation NVIDIA Default Card" Monitor "Generic Monitor" DefaultDepth 16 SubSection "Display" Depth 1 Modes "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480" EndSubSection EndSection

only the xorg.conf thingie left..

  • skullnotions
  • 09/29/07
  • Mon, 06/02/2008 - 10:25
Hi nlz, nlz> only the xorg.conf thingie left.. Tell us more!? have you edited xorg.conf at all? Cheers, dave

fantastic!

  • nlz
  • 05/26/08
  • Sun, 06/01/2008 - 20:59
wow! Thanks! it's working like a charm.. **accessing** only the xorg.conf thingie left..

lenin@64studio:~$ sudo mount

  • Pablo
  • 07/11/07
  • Sun, 06/01/2008 - 20:47
lenin@64studio:~$ sudo mount /dev/sda6 mount: mount point /media/uhome does not exist $sudo mkdir /media/uhome (you have to create the directory) $sudo mount /dev/sda6

NVIDIA and fstab

  • nlz
  • 05/26/08
  • Sun, 06/01/2008 - 20:15
Hello, Internet and the CD/DVD are working nicely after I rewrote the GRUB boot loader, now i'm working with the multimedia 486 kernel and i'm very excited about 64 studio, i think i never worked on such a stable system before. But two problems: I I tried to install some drivers for my NVIDIA Geforce 8400M GT GPU graphic card. The things written in the FAQ didn't work, probably because this card is pretty new. So I downloaded a NVIDIA installer (NVIDIA-Linux-x86-173.14.05-pkg1.run) from the website, and it worked out pretty nice. I shut down the xserver, ran the installation and started the xserver with starx and it worked like a charm! But when I restarted the xserver wouldn't start. So now everytime I restart I have to run the NVIDIA installer and then startx. But this I don't want, as you can understand. What should I do? II I added the last two lines to the following fstab in 64studio # /etc/fstab: static file system information. # # proc /proc proc defaults 0 0 /dev/sda5 / ext3 defaults,errors=remount-ro 0 1 /dev/sda1 /boot ext3 defaults 0 2 /dev/sda2 none swap sw 0 0 /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/sda3 /media/ubuntu ext3 defaults 0 0 /dev/sda6 /media/uhome ext3 defaults 0 0 but when I try to mount sda3 or sda6 I get get the message: /media/ubuntu doesn't exist; lenin@64studio:~$ sudo mount /dev/sda6 mount: mount point /media/uhome does not exist lenin@64studio:~$ sudo mount /media/ubuntu mount: mount point /media/ubuntu does not exist in my Ubuntu I don't have sda5 (my 64studio filesystem) mentioned in my fstab, but i can mount it! trotski@labda:~$ cat /etc/fstab # /etc/fstab: static file system information. # # proc /proc proc defaults 0 0 # /dev/sda3 UUID=7f35af41-15f4-4aca-a1fd-fea65047b558 / ext3 relatime,errors=remount-ro 0 1 # /dev/sda1 UUID=e46d019b-841c-4fca-8363-3ea70e2518b6 /boot ext3 relatime 0 2 # /dev/sda6 UUID=0be99fed-4a85-4366-a243-2c57113fca37 /home ext3 relatime 0 2 /dev/sda2 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 thanks for the great help people!

Well Done

  • skullnotions
  • 09/29/07
  • Fri, 05/30/2008 - 04:42
Pleased for you ;-) You now have two similar debian systems to compare. I've never heard of sky2, so we will have to start from scratch. Your eth0 card modules are loading in ubuntu? did the 64studio live cd configure eth0? post back the results of $ lsmod | grep sk from ubuntustudio and 64studio. CD/DVD player, post back. $ wodim --devices from ubuntustudio and 64studio. Check out both fstabs, in fact post them both. Is the cd working with ubuntustudio? backup your fstabs before you start. as root: # cp /etc/fstab /etc/fstab-backup1 Cheers, dave

whoot whoot

  • nlz
  • 05/26/08
  • Thu, 05/29/2008 - 14:26
Wow, i got both ubuntu and 64studio working, and i'm extremely happy with it. I've got some other questions, but maybe they are not completely on-topic here. I'll ask them anyway and start a new thread if other deem it necessary. These problems intertwine a bit: * My eth0 card isn't working. This is most probably because 64studio hasn't got this the sky2 driver which is used in Ubuntu for my card. How can I add this driver? * 64 studio won't mount any other disk or device then /, /home and boot. So i cannot use the CD/DVD player to add drivers etc. The CD/DVD player is mentioned in fstab: /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 When i try to mount i says something like: don't know iso9660. What can I do?

Suggestions 2

  • skullnotions
  • 09/29/07
  • Wed, 05/28/2008 - 09:23
Hi nlz, Pablo's post is the way I think you should go, your layouts are alike, and the post is an excelent howto, the link about a separate partition for /boot is a good read and should you wish to do away with the boot partition you could do this at a later date. My layout is a good second choice. Print out Pablo's howto so you have it in front of you while you work or save this web page on another computer and follow from there. good luck, dave

Thanks!

  • skullnotions
  • 09/29/07
  • Wed, 05/28/2008 - 08:39
Quentin, I will have to backup and move my data partitions over to ext3, I used fat in the past because I shared files with a win-system, Back then ntfs and linux was in heavy development and read/write was a big issue. My partitions have been setup for a long time and just worked, so I left them. I will take the time before the new 64studio release to re-vamp this disk. sda1* ext3...64studio sda2 swap sda3 extended sda4 fat32..Audio sda5 ext3...JackLab sda6 ext3...UbuntuStudio sda7 fat32..Data It has served me well, but it's time for change. I will backup reformat to ext3 and replace the data, with luck I will be able to keep the layout, as it works very well. Cheers, dave

FAT32...

  • Quentin Harley
  • 05/24/07
  • Wed, 05/28/2008 - 05:56
...is not a good filesystem for audio... for starters you can not host files larger than 4Gig on it, and I sometimes run into file sizes of tens of gigs while recording a live show... Then, there is the fragmentation of data. Your drive slows down gradually until it is just crawling. EXT3 do not have to be defragmented if you keep some open space. This means faster performance. EXT3 is also a journalling filesystem, which means that if the power goes while recording, the whole recording will be available up to the point when the power went (using ardour) for me ext3 has a good balance of performance and reliability, and therefore all my partitions are ext3

Suggestions

  • Pablo
  • 07/11/07
  • Tue, 05/27/2008 - 21:52
I've never had a separate partition for /boot. Definitely, it is not needed for having a dual boot. Again, when you install the second OS, GRUB will know about all of your current OS and you'll have the option to boot one or the other. Don't worry about that. BTW, I've just found this on the net http://blog.flameeyes.eu/articles/2007/11/02/why-people-insist-on-using-boot He discourages average users like you and me from having a /boot partition! I have a dual boot Debian Lenny and 64Studio in one hard disk, so my case is very like yours for that matter. In my case I share the swap partition (the default option for the 64studio installer) but I have separate /home partitions for each system. Definitely, you will have access to the Ubuntu's /home from 64Studio as long as you add it to 64Studio's /etc/fstab and the same for 64Studio's /home from Ubuntu. For example, to see Ubuntu's /home from 64Studio: First, you create a directory, e.g., #mkdir /Ubuntu_home Then add a line to /etc/fstab with said mount point for /dev/sdax (where x is a number, and sda could be hda in your case) The tricky thing is getting to know the partition's name because it is different from the one GRUB gives to it. In my case, what GRUB names hd(0,0) is listed in /dev as sda1. List the contents of /dev and you'll figure out (there is a better way, for sure, but I don't know) Then mount it: #mount /dev/sdax (or whatever) This is my 64Studio's /etc/fstab: proc /proc proc defaults 0 0 /dev/sda1 / ext3 defaults,errors=remount-ro 0 1 /dev/sda2 /home ext3 defaults 0 0 /dev/sda3 none swap sw 0 0 /dev/sda5 /OS_Debian ext3 defaults 0 0 /dev/sda6 /home_Debian ext3 defaults 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 And Debian Lenny's one: proc /proc proc defaults 0 0 /dev/sda5 / ext3 errors=remount-ro 0 1 /dev/sda6 /home ext3 defaults 0 2 /dev/sda3 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/sda1 /OS_64studio_32b ext3 defaults 0 0 /dev/sda2 /home_64studio_32b ext3 defaults 0 2 As you see I can access not only the other system's /home but also the other system's root directory, which can be very useful. As for the difference between using primary or logical partitions I don't really know, but my Debian Lenny's root and /home are both in logical partitions and it works like a charm. As for the file systems, I use ext3 for all of them. But I am not sure about what's the best file system for data files. I thought FAT32 was worse. Opinions? Cheers Pablo

Shares

  • Quentin Harley
  • 05/24/07
  • Tue, 05/27/2008 - 20:23
You can share swap and home partitions, but would need separate roots for the two. /boot is included in the root partition, so it should not be a problem. GRUB lies in the boot sector of the primary drive, so it does not influence the others. Good luck...

bwoah, I tried the Gparted

  • nlz
  • 05/26/08
  • Tue, 05/27/2008 - 18:59
bwoah, I tried the Gparted liveCD and it is having troubles with my Nvidia Geforce 8400, so it won't detect a screen. Actually the same problem I had with 64studio. I bought the Nvidia card because i was sick of the problems with the ATI card on my girlfriends laptop, but heh, problems again. But that's probably also because it's quite new. And aren't the problems half the fun? ;) SO i think i just organize an external harddrive to back up /home and make a fresh install of both, but that leaves me with three questions (sorry guys): * shouldn't I have a seperate /boot partition for a dual boot? * Can i use logical and primary partition for all the disks? * Can i access my /home ext3 partition from both of the operating systems? I will make two /home, but i want to acces them both. Or should i then make an fat32 partition as dave suggests? thanks again, nlz

extended partition

  • skullnotions
  • 09/29/07
  • Tue, 05/27/2008 - 17:08
> My idea was now to use the gparted livecd to repartition my /home into the primary home of abnlz out 160 GB and 20 GB for 64studio on a logical partition and then start the 64studio installer. Hopefully he will recognize the logical partition. > If this is your first option, follow Pablo's instruction with grub (MBR of your first hard drive) gparted livecd # swapoff /dev/sda2 Before you try to change the partition layout. I have never tried this type of (home) resize before so I dont know the outcome!? If the four primary partitions will not let you continue. Try deleting the swap partition, which will free up a primary partition and add a swap inside your extended partition. You will have to change fstab in ubuntu. It's all getting a bit messy at this stage, and you might find yourself setting up from the start. Which in fact might save a lot of time in the long run... e.g. sda1* ext3 ubuntustudio sda2 ext3 64studio sda3 swap sda4 fat32 accessed by sda1 & sda2. Cheers, dave

Thanks for the quick reply

  • nlz
  • 05/26/08
  • Tue, 05/27/2008 - 14:04
Thanks for the quick reply people, Indeed i do want to repartition my /home to make space for 64studio. And i do want to use the 64studio installer You are most probably right that the problem is that i already have 4 primary partitions, and 64studio can most probably not make a logical partition with the installer. My idea was now to use the gparted livecd to repartition my /home into the primary home of about 160 GB and 20 GB for 64studio on a logical partition and then start the 64studio installer. Hopefully he will recognize the logical partition. 64studio installer doesn't recognize my /boot partition as /boot. Should i re-flag it as /boot or just do nothing? So the big questions are: * Can i install 64studio on a logical partition? * Should i reflag /boot to be able to boot in ubuntu or 64studio? sda1 /boot 100MB ext3 sda2 /swap 1GB sda3 / 15GB ext3 sda4 /home 170GB ext3 gvfs-fuse daemon /home/trotski/.gvfs 15GB fuse.gvfs-fuse-daemon I think the latter is some kind of mirror of / Thanks, nlz

livecd partition management

  • skullnotions
  • 09/29/07
  • Tue, 05/27/2008 - 08:34
However you go forward here, be careful. If you use a livecd to change your partitions, you must unmount "swap". If you don't, the best is the new layout wont work, the worst is you will damage your disk! # swapoff /dev/your swap partition You don't have this problem if you use the 64studio installer... If you post back the results of: as root # fdisk -l Even better add the results a livecd partitioner gives. We will be able to see your partition layout. I think the maximum of 4 primary partitions, might catch you out here. Cheers, dave

Partitions

  • Pablo
  • 07/11/07
  • Mon, 05/26/2008 - 22:03
I think I understand the following: You have an Ubuntu system and Ubuntu's /home is large enough and you want to repartition it to make room for 64Studio, isn't it? (You should back up the files in /home, you know) First, what partitioner are you referring to? One you use in Ubuntu, like gparted, or the Debian Installer's one? When you boot from the 64Studio CD you run the Debian installer and it'll see your current partitions. It's the same if they are mounted in Ubuntu or not. You could even format the whole disk! Be careful! Otherwise, the problem you encounter may have to do with the fact that there is a maximum of 4 primary partitions you can have in a disk. But you can have a lot more logical partitions. As for your last question, say yes to the question "do you want to install the boot loader in the MBR of your first hard drive?" or something like that. Then the "active" GRUB will be that of 64Studio (the last installed) which will see all your operating systems. Pablo