Jump to content

coverup

Members
  • Posts

    1277
  • Joined

  • Last visited

Everything posted by coverup

  1. I tried removing noauto, and replacing with auto or with nothing. Both ways, I get an error: mount: special device /dev/sda1 does not exist How can this be fixed?
  2. Ah, you are right! And I was wondering why / partition was nearly full! Thanks! Now, can anybody tell what's wrong with the fstab entry? The drive does not mount on boot.
  3. Hi there, I recently added a secondary SATA HDD to my old Mandrake 10.1 desktop. The drive is recognized as /dev/sda1 and is formatted as ext3 filesystem. MDK was unable to mount it properly on start up, and I added the following entry to /etc/fstab /dev/sda1 /backup ext3 umask=0,user,iocharset=iso8859-1,sync,kudzu,codepage=850,noauto,exec,users 0 0 Despite that, the drive was painfully slow until I manually unmounted and mounted it with a command mount -t ext3 /dev/sda1 /backup After that I could read and write to the HDD OK. The problem is that I have to mount the drive manually after every reboot. If I don't, then 1. ls lists a different list of files on the drive from what should be there! I suspect those files were put there while the drive was not mounted properly 2. Why can I see anything at all on the partition /backup after it has been unmounted? Here is what I mean # mount /dev/hda1 on / type ext3 (rw) none on /proc type proc (rw) none on /proc/bus/usb type usbfs (rw) none on /sys type sysfs (rw) /dev/hda6 on /home type ext3 (rw) none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,codepage=850) # ls /backup a-Fri.tgz a-Sat.tgz a-Thu.tgz a-Wed.tgz a-Mon.tgz a-Sun.tgz a-Tue.tgz Note that the partition /backup and device /dev/sda1 are not on the list of mounted partitions, yet ls /backup shows there are files on it! Where can I find those files? They disappear after the HDD is mounted manually.
  4. You can change the size of the Emacs window by adding these lines to the Emacs configuration file ~/.emacs (custom-set-variables ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(blink-cursor nil) ;;; I think this should be a single line. Note Width and Height parameters, they give you 80 columns and 46 lines of text in the emacs ;;; window. Change them to what suits you. And yes, you can cut and paste it :-) '(default-frame-alist (quote ((scroll-bar-foreground . "white") (scroll-bar-background . "grey75") (foreground-color . "Black") (background-color . "White") (vertical-scroll-bars . right) (tool-bar-lines . 0) (menu-bar-lines . 1) (width . 80) (height . 46)))) '(menu-bar-mode t) '(mouse-wheel-mode t nil (mwheel)) '(pc-select-meta-moves-sexps t) '(pc-select-selection-keys-only t) '(pc-selection-mode t nil (pc-select)) '(scroll-bar-mode (quote right)) '(show-paren-mode nil nil (paren)) '(tool-bar-mode nil nil (tool-bar))) ;; '(x-select-enable-clipboard t)) Alternatively, you can try adding this line to ~/.Xdefaults (again, change the values) emacs.geometry: 80x46
  5. Perhaps, the right thing would be to complain to Hotmail customer service. Even though you don't pay for the account, you entered in a contract with them by opening an account. Unlikely, this will go further than polite suggesting that you should have used the MSIE to access that service, but it is better than just walking away without letting them know about the compatibility issues.
  6. ... and since the screenshot comes from AI, I presume it was taken on an Ubuntu box :D ? What theme do you you use?
  7. It is not very clear from your post how you are making modifications in the .emacs. You can simply add whatever you need to the .emacs, though the syntax is a bit cumbersome. Another method is making modifications in the Customize Emacs buffer. To reach it open Emacs, then go to Options->Customize Emacs->Specific Face, then hit "Enter" to open the buffer. Note gray buttons near the top of the buffer: Set for Current Session Save for Future Sessions Undo Edits Reset to Saved Erase Customization Finish To make permanent changes and save them in the .emacs file, you must click "Save for Future Sessions". Make sure you have write permissions for that file. To change a particular font/face browse to the font/component you would like to modify, and click the Show Face button. Make modifications (note that there is a preview - the word "sample"), then scroll back to the top of the buffer and click one of the buttons mentioned above. You can initially set changes for the current session (without modifying .emacs), then if you are happy with them, return to the Customize Emacs buffer, and click Save for Future Sessions. Edit: Here is a discussion on how to permanently turn off auto-fill http://groups.google.com/group/gnu.emacs.h...6e78a16d7d7bc0f
  8. On my 2008.0 laptop, only font that matches the mask -*-*-*-*-*-*-16-*-*-*-*-*-iso8859-1 is -sony-fixed-medium-r-normal-*-16-*-*-*-c-*-iso8859-1. It seems to be available in both 100x100 and 75x75 point sizes. The corresponding font files are in the directory /usr/share/fonts/misc/, according to the file /usr/share/fonts/misc/fonts.dir: $ more misc/fonts.dir |grep sony 12x24.pcf.gz -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1 12x24rk.pcf.gz -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0 8x16.pcf.gz -sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1 8x16rk.pcf.gz -sony-fixed-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0 They are part of the package x11-font-sony-misc. You may want to check whether you have this package installed, hopefully 2009 uses the same naming convention. You can copy/create your own ~/.Xdefaults in the user account. If you like, you can copy the one in the root account and modify it at will. I noticed that your root's .Xdefaults includes emacs*font: fixed Did you try commenting it out? Just put ! at the start. Text wrapping as well as splash screen can be turned on/off in ~/.emacs file. Here is the section from my ~/.emacs that turns on autofill (text wrapping) and turnes off the splash screen (setq initial-major-mode (lambda () (text-mode) (turn-on-auto-fill) (font-lock-mode) )) (setq font-lock-mode-maximum-decoration t) (require 'font-lock) ;; By default turn on colorization. (if (fboundp 'global-font-lock-mode) (global-font-lock-mode t) ) ;; Turn on auto-fill mode in text mode and related modes. (add-hook 'text-mode-hook '(lambda () (setq fill-column 75) (auto-fill-mode 1))) ;; Enable this if you don't want to see emacs start-up message (setq inhibit-startup-message t)
  9. I checked mandriva.com.au just now, they still announce the arrival of 2008.1 spring Looks like the distributors of Mandriva 2009 follow the iPhone model :lol2:
  10. ... the review will of course cover support of enterprise WiFi networks and PPTP VPN lacking in Mandriva 2008.0 :D
  11. Do you have xfontsel installed? Does it show that these fonts are available? Also, check /etc/X11/app-defaults/Emacs. If you find what those fonts are used for, you could replace them by editing that file, but it is better to edit your local ~/.emacs or ~/.Xdefaults files. For example, I have these lines in my ~/.Xdefaults ! emacs, xemacs emacs*bitmapIcon: on emacs.font-latex-math-face.attributeForeground: Red As a last resort, you might need to install and run X font server xfs. AFAIK, recent versions of xorg do not use xfs . That may be a better option for KDE/Gnome apps, but causes problems for those few of us who use emacs. Edit: Just found that only one line in my /etc/X11/app-defaults/Emacs refers to the medium-r-normal font: ! *EmacsFrame.FontSet: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-* As you can see it is commented out.
  12. Aha, so I won't see two Windows or Mandriva prompts on the screen... Good to know. I have actually implemented arctic's instructions, but will try this method in the future. If only Ubuntu could cleanly resume from suspend...
  13. It's a great tip, thanks! One thing though, I installed Ubuntu in addition to mandriva and windows. Thee have entries in the Ubuntu's menu. Will these appear twice if I follow your tip (i.e, one windows line from Mandriva's menu.lst, and one from ubuntu's one)?
  14. Thanks! One problem though - drakboot crashed and nothing happened :-). Now I am trying to edit menu.lst manually. Here is the Mandriva original menu.lst: timeout 10 color black/cyan yellow/cyan gfxmenu (hd0,5)/boot/gfxmenu default 0 title linux kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/sda6 resume=/dev/sda7 acpi_slip=s3_bios acpi_osi=!Linux splash=silent vga=791 initrd (hd0,5)/boot/initrd.img title linux-nonfb kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/sda6 resume=/dev/sda7 splash=silent initrd (hd0,5)/boot/initrd.img title failsafe kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/sda6 failsafe initrd (hd0,5)/boot/initrd.img title windows root (hd0,0) makeactive chainloader +1 There is the parameter in BOOT_IMAGE=xyz in each linux entry of the list, but I don't see an equivalent in Ubunu. What am I suppose to put there? This is what I am going to insert between the last linux entry and the windows entry title Ubuntu 8.04, kernel 2.6.24-16-generic kernel (hd0,8)/boot/vmlinuz-2.6.24-16-generic BOOT_IMAGE=???????? root=/dev/sda9 ro quiet splash initrd (hd0,8)/boot/initrd.img-2.6.24-16-generic By the way what does gfxmenu (hd0,5)/boot/gfxmenu do? Does this need to be changed to reflect added grub entries?
  15. Ok, here is the entry from the Ubuntu's menu.lst. Ubuntu is on /dev/sda9, Mandriva is on /dev/sda6 title Ubuntu 8.04, kernel 2.6.24-16-generic root (hd0,8) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=0ca7a84f-3184-4e26-a076-855a22b8e24a ro quiet splash initrd /boot/initrd.img-2.6.24-16-generic quiet Next, I went to MCC -> Boot -> Set up boot system -> Add. Could somebody please help me filling out the boxes? * Label: That's easy, Ubuntu 8.04 * Image: In the pull-down menu, i have only mandriva related ones. Should I simply type in /boot/vmlinuz-2.6.24-16-generic Will the boot loader understand that I am referring to the Ubuntu's /boot dir and not the Mandriva's /boot dir? * Root: I don't understand what UUID=0ca7a84f-3184-4e26-a076-855a22b8e24a means. Should I simply select /dev/sda9 from the pull down menu? Besides, MCC won't let me type in anything anyway. * Append: Do I put here ro quiet , or should these go elsewhere? * Default: Easy, leave unchecked Advanced options: * Videmode: I suspect this can be left blank *Initrd: Again, what do I put here, /boot/initrd.img-2.6.24-16-generic from the Ubuntu's list? Mandriva shows only several Mandriva related options. * Network profile: I suspect this can be left blank Finally where do I put quiet from the last line?
  16. Ah, if only I knew the trick about 32Mb partition before... Now, about arctic's suggestion that it can be done within MCC, when I go to MCC->Boot->Setup boot system (it takes a little while until the window is populated) -> Next, then I only see the Mandriva's grub menu. Are you saying I could simply cut and paste Ubuntu's entries into "ADD" fields? Now, where do I change the faceless "linux (/sda6)" to a more friendly name like "mandriva linux", which I had before?
  17. Ive decided to put Ubuntu onto a spare space alongside Mandriva 2008.0 and XP. Ubuntu installed fine, but changed the Grub screen where all boot options are listed. I would like to change it back to make Mandriva the default boot option. Also, Ubuntu's default grub screen looks really dull... What is the best way to do that?
  18. Do keys get stuck all the time or just time to time (on regular intervals)?
  19. Adobe Reader is another app that does not respect CUPS settings for paper format. Does anybody know how to permanently change latter to A4 in Adobe Reader?
  20. Why do you think it is not recognized? Connect the drive, then boot the computer. Do you see the drive?
  21. To kill a program, open terminal then run killall <program-name>. If this does not work, find the program's PID from the list obtained from ps -ef, then kill the program using the command kill -9 <PID>.
  22. I have an ssh server running on my laptop behind the firewall (shorewall). With firewall running, everything is fine, and I can connect to the machine via ssh just fine. However, shutting down the shorewall service on the laptop prevents other computers from connecting to ssh server. This does not look logical to me.... Why is this happening? What is blocking connections? I need to be able to test certain things with shorewall down.
×
×
  • Create New...