Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 22
Originally Posted by buteman Once this is fixed we can look at setting up grub2 to set your default to boot into Xp if that is what you wish. Already ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045

    Quote Originally Posted by buteman View Post
    Once this is fixed we can look at setting up grub2 to set your default to boot into Xp if that is what you wish.
    Already answered this ... see other thread

    To sort swap info post output of
    Code:
    cat /etc/fstab
    as buteman suggested but also post the output of
    Code:
    sudo blkid
    this should give uuid info for swap partitions

    Ed: and if you want to run dos then try something like dosbox.

  2. #12
    Just Joined!
    Join Date
    Dec 2010
    Posts
    46
    I solved the swap issue with sudo nautilus and editing fstab.

    I but is is giving me a cannot mount root error message on startup. I am not sure what this is breaking, if anything. I bet this is also some uuid problem in fstab. I am not sure, what line though.

  3. #13
    Just Joined! buteman's Avatar
    Join Date
    Jul 2006
    Location
    Isle of Bute, Scotland
    Posts
    75
    Quote Originally Posted by degarb View Post
    I solved the swap issue with sudo nautilus and editing fstab.

    I but is is giving me a cannot mount root error message on startup. I am not sure what this is breaking, if anything. I bet this is also some uuid problem in fstab. I am not sure, what line though.
    Well if you didn't have a mount problem before sorting out swap then it is probably something you did which has caused the problem and the system is now in more of a mess than before.
    As we have already asked you please post the result of what we asked for and then maybe we can fix it for you rather than you simply 'swapping' problems.

  4. $spacer_open
    $spacer_close
  5. #14
    Just Joined!
    Join Date
    Dec 2010
    Posts
    46
    I know now, for sure, the swap is working. The other error? Maybe because linux is on /dev/sda3 not sda1 .... But I am afraid to touch this without a guru to help.
    "
    # / was on /dev/sda1 during installation
    UUID=39dce7bc-28c6-4d48-a3e1-b2d48712856e / ext3 errors=remount-ro 0 1
    "

    I think this what you want?

    cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'vol_id --uuid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # / was on /dev/sda1 during installation
    UUID=39dce7bc-28c6-4d48-a3e1-b2d48712856e / ext3 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation should be sda2
    #UUID=f5355ad1-6de9-497b-a8d4-e2abe7336d4d none swap
    UUID=fa0ac7e1-6154-4e96-afc7-37865af56e71 none swap
    #changing the above fixed the swap
    sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
    proc /proc proc nodev,noexec,nosuid 0 0
    /dev/sda3 / ext4 rw,errors=remount-ro 0 0

  6. #15
    Just Joined! buteman's Avatar
    Join Date
    Jul 2006
    Location
    Isle of Bute, Scotland
    Posts
    75
    That is helpful but it would also be good to look at the results of
    Code:
    sudo blkid
    as Jonathan183 suggested.

    and I would certainly not say i am a guru

  7. #16
    Just Joined!
    Join Date
    Dec 2010
    Posts
    46
    Quote Originally Posted by buteman View Post
    That is helpful but it would also be good to look at the results of
    Code:
    sudo blkid
    Sudo blkid does nothing on my sytem. I have to fdisk -l then blkid /dev/sda1 etc. for each device.

    Which partition do you want to see? I have like 12 partitions or more on the machine.

    xp is sda1 and linux is sda3 and swap is sda2

  8. #17
    Just Joined!
    Join Date
    Dec 2010
    Posts
    46
    sudo blkid /dev/sda3
    /dev/sda3: UUID="54dc02da-1408-440d-8017-d93a744fda1f" TYPE="ext4"



    xp is here:
    sudo blkid /dev/sda1
    /dev/sda1: LABEL="=you" UUID="3ECC2741CC26F337" TYPE="ntfs"

    BTW. what is the linux f3 equivalent to dos in terminal?

  9. #18
    Just Joined! buteman's Avatar
    Join Date
    Jul 2006
    Location
    Isle of Bute, Scotland
    Posts
    75
    In that case do
    Code:
    fdisk -l
    and post the results

  10. #19
    Just Joined!
    Join Date
    Dec 2010
    Posts
    46
    Quote Originally Posted by buteman View Post
    In that case do
    Code:
    fdisk -l
    and post the results
    Note, probably not related. sdb1 is not showing up in nautilus. Windows works fines. Cable select and error code 0x000b

    sudo fdisk -l
    [sudo] password for dennis:

    Disk /dev/sda: 40.0 GB, 40020664320 bytes
    255 heads, 63 sectors/track, 4865 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xe25de25d

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 3463 27813856+ 7 HPFS/NTFS
    /dev/sda2 3463 3719 2053120 82 Linux swap / Solaris
    /dev/sda3 3719 4866 9214976 83 Linux

    Disk /dev/sdc: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x8da15bc0

    Device Boot Start End Blocks Id System
    /dev/sdc1 * 1 14624 117467248+ 7 HPFS/NTFS
    /dev/sdc2 14625 24321 77891152+ f W95 Ext'd (LBA)
    /dev/sdc5 14625 24321 77891121 7 HPFS/NTFS

    Disk /dev/sdb: 122.9 GB, 122942324736 bytes
    255 heads, 63 sectors/track, 14946 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x88808880

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 14946 120053713+ 7 HPFS/NTFS

  11. #20
    Just Joined! buteman's Avatar
    Join Date
    Jul 2006
    Location
    Isle of Bute, Scotland
    Posts
    75
    I but is is giving me a cannot mount root error message on startup. I am not sure what this is breaking, if anything. I bet this is also some uuid problem in fstab. I am not sure, what line though.
    Just to check, does the system end up hanging or does it continue to boot?

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

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