Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: NTFS & Derbian

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Apr 2007
    Location
    Belgium
    Posts
    10

    Password:
    debianPG:/home/peter# fdisk -l

    Disk /dev/hdb: 122.9 GB, 122942324736 bytes
    255 heads, 63 sectors/track, 14946 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 * 1 14334 115137823+ 83 Linux
    /dev/hdb2 14335 14946 4915890 5 Extended
    /dev/hdb5 14335 14946 4915858+ 82 Linux swap / Solaris

    Disk /dev/sda: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 2 3824 30708247+ f W95 Ext'd (LBA)
    /dev/sda2 * 3825 5609 14338012+ 7 HPFS/NTFS
    /dev/sda3 5610 9725 33061770 7 HPFS/NTFS
    /dev/sda5 2 3824 30708216 7 HPFS/NTFS
    debianPG:/home/peter# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hdb1 109G 2.9G 100G 3% /
    tmpfs 975M 0 975M 0% /lib/init/rw
    udev 10M 72K 10M 1% /dev
    tmpfs 975M 0 975M 0% /dev/shm
    debianPG:/home/peter#



    At last?

    Peter

  2. #12
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,776
    as i asked earlier, post the contents of menu.lst file too. exeucte these commands
    Code:
    cd /boot/grub
    less menu.lst
    less device.map
    post the output of both commands here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #13
    Just Joined!
    Join Date
    Apr 2007
    Location
    Belgium
    Posts
    10
    You were right; my apologies,



    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.

    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not change this entry to 'saved' or your
    # array will desync and will not let you boot your system.
    default 0

    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 5

    # Pretty colours
    color cyan/blue white/blue

    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret

    #
    # examples
    #
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    #
    # title Linux
    Input is not a pipe (press RETURN)


    debianPG:/home/peter# less device.map
    device.map: No such file or directory
    debianPG:/home/peter#


    I hope I have it this time.

    Best regards

  4. $spacer_open
    $spacer_close
  5. #14
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,776
    its not a complete file. press arrow keys to veiw all the contents.

    debianPG:/home/peter# less device.map
    device.map: No such file or directory
    either exeucte 'cd /boot/grub' and 'less device.map' commands or type full path of device,map file.
    less /boot/grub/device.map
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #15
    Just Joined!
    Join Date
    Apr 2007
    Location
    Belgium
    Posts
    10
    (hd0) /dev/hdb
    (hd1) /dev/sda
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    (END)


    Is this nearer?

    Best regards

    Peter

  7. #16
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,776
    Hi Peter !

    contents of device.map are complete. i want check contents of /boot/grub/menu.lst file too. please post all the contents of menu.lst file here.
    execute this
    Code:
    su 
    kate /boot/grub/menu.lst
    if kate throws any error, replace 'kate' with 'gedit'.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #17
    Just Joined!
    Join Date
    Apr 2007
    Location
    Belgium
    Posts
    10
    Sir,

    Longer this time. Kate did not deliver.



    # menu.lst - See: grub(, info grub, update-grub(
    # grub-install(, grub-floppy(,
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.

    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not change this entry to 'saved' or your
    # array will desync and will not let you boot your system.
    default 0

    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 5

    # Pretty colours
    color cyan/blue white/blue

    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret

    #
    # examples
    #
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    #
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    #

    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below

    ## DO NOT UNCOMMENT THEM, Just edit them to your needs

    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=/dev/hdb1 ro

    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,0)

    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    # alternative=true

    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false

    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=

    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false

    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=

    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0

    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(single-user) single
    # altoptions=(single-user mode) single

    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all

    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true

    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false

    ## ## End Default Options ##

    title Debian GNU/Linux, kernel 2.6.18-4-amd64
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.18-4-amd64 root=/dev/hdb1 ro
    initrd /boot/initrd.img-2.6.18-4-amd64
    savedefault

    title Debian GNU/Linux, kernel 2.6.18-4-amd64 (single-user mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.18-4-amd64 root=/dev/hdb1 ro single
    initrd /boot/initrd.img-2.6.18-4-amd64
    savedefault

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title Other operating systems:
    root

    To recap the 3 problems I have are

    1. NTFS inside Linux

    2. Booting by changing the booting priority seems cumbersome

    3. My Skype does not load. I suspect due to a file system format problem.

    Please accept my thanks in advance.

    Peter

    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda2
    title Microsoft Windows XP Professional
    root (hd1,1)
    savedefault
    makeactive
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1

  9. #18
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,776
    lets solve these problems one by one.
    1. NTFS inside Linux
    open terminal/konsole and execute this
    Code:
    su 
    cd /mnt 
    mkdir sda2 sda3 sda5
    nano /etc/fstab
    'nano /etc/fstab' command will open /etc/fstab file in 'nano' editor for editing.
    add this code in file.
    Code:
    /dev/sda2   /mnt/sda2   ntfs  defaults,umask=0 0 0
    /dev/sda3   /mnt/sda3   ntfs  defaults,umask=0 0 0
    /dev/sda5   /mnt/sda5   ntfs  defaults,umask=0 0 0
    press Ctrl+X, Y and Enter key to save file.
    execute 'mount -a' command and check sda2, sda3 and sda5 folders in /mnt.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #19
    Just Joined!
    Join Date
    Apr 2007
    Location
    Belgium
    Posts
    10
    Sheer magic Casper,

    Am beginning to get a notion of the operations performed.

    Will get into some reading after this. I may need to perform these routines at a future date. There may be a quick fix reference I can find.

    It looks as though this first operation was successful as I saw the three partitions with their files on the first disk.

    There was a slight slip on my part. I failed to declare a screen on startup which offers me four versions of Derbian to start with. So far I have used the default most times. When I go for the desktop stand-alone option I get queried and asked to press ctr+ D as I recall and then it appears to function in the same manner!

    Possibly I should have the Windows boot option here. Is this the @grub@ screen?

    Interestingly I note that in Help I am told that I am running on Yelp 2.14.3 which does not shout confirmation that I am on version 4 of Derbian.


    Best regards

    Peter Gardiner

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •